fix additional files note (#4699)

* fix additional files note

* Trigger CI

* Trigger CI
This commit is contained in:
Tong He
2019-07-25 00:37:38 -07:00
committed by Philip Hyunsu Cho
parent 59bc1ef330
commit 7b74b1b64d
19 changed files with 35 additions and 23 deletions

View File

@@ -33,6 +33,7 @@ bst <- xgboost(data = train$data, label = train$label, max_depth = 2,
eta = 1, nthread = 2, nrounds = 2,objective = "binary:logistic")
xgb.save(bst, 'xgb.model')
bst <- xgb.load('xgb.model')
if (file.exists('xgb.model')) file.remove('xgb.model')
pred <- predict(bst, test$data)
}
\seealso{