Update xgb.save.raw.R

This commit is contained in:
Tong He 2015-02-09 13:31:21 -08:00
parent ac3791bf74
commit 8c16491b42

View File

@ -12,7 +12,7 @@
#' test <- agaricus.test
#' bst <- xgboost(data = train$data, label = train$label, max.depth = 2,
#' eta = 1, nround = 2,objective = "binary:logistic")
#' raw <- xgb.save(bst)
#' raw <- xgb.save.raw(bst)
#' bst <- xgb.load(raw)
#' pred <- predict(bst, test$data)
#' @export