Remove silent from R demos. (#5675)
* Remove silent from R demos. * Vignettes.
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user