documentation update

This commit is contained in:
hetong007
2015-01-20 16:21:13 -08:00
parent 6901e90730
commit d87cb24793
11 changed files with 27 additions and 14 deletions

View File

@@ -37,7 +37,7 @@ test <- agaricus.test
bst <- xgboost(data = train$data, label = train$label, max.depth = 2,
eta = 1, nround = 2,objective = "binary:logistic")
# save the model in file 'xgb.model.dump'
xgb.dump(bst, 'xgb.model.dump', with.stats = T)
xgb.dump(bst, 'xgb.model.dump', with.stats = TRUE)
# print the model without saving it to a file
print(xgb.dump(bst))