replace nround with nrounds to match actual parameter (#3592)

This commit is contained in:
Jakob Richter
2018-09-05 11:52:34 -07:00
committed by Philip Cho
parent 24e08c2638
commit 324f3b5259
17 changed files with 51 additions and 51 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ test_that("train and prediction when gctorture is on", {
test <- agaricus.test
gctorture(TRUE)
bst <- xgboost(data = train$data, label = train$label, max.depth = 2,
eta = 1, nthread = 2, nround = 2, objective = "binary:logistic")
eta = 1, nthread = 2, nrounds = 2, objective = "binary:logistic")
pred <- predict(bst, test$data)
gctorture(FALSE)
})