Remove silent from R demos. (#5675)

* Remove silent from R demos.

* Vignettes.
This commit is contained in:
Jiaming Yuan
2020-05-19 18:20:46 +08:00
committed by GitHub
parent dd9aeb60ae
commit 7903286961
11 changed files with 45 additions and 56 deletions

View File

@@ -21,7 +21,6 @@ param <- list("objective" = "binary:logitraw",
"bst:max_depth" = 6,
"eval_metric" = "auc",
"eval_metric" = "ams@0.15",
"silent" = 1,
"nthread" = 16)
watchlist <- list("train" = xgmat)
nrounds = 120
@@ -30,4 +29,3 @@ bst = xgb.train(param, xgmat, nrounds, watchlist );
# save out model
xgb.save(bst, "higgs.model")
print ('finish training')

View File

@@ -36,7 +36,6 @@ for (i in 1:length(threads)){
"bst:max_depth" = 6,
"eval_metric" = "auc",
"eval_metric" = "ams@0.15",
"silent" = 1,
"nthread" = thread)
watchlist <- list("train" = xgmat)
nrounds = 120