From 42110f3d70355ed05cd0aec176e2511b9a4f7489 Mon Sep 17 00:00:00 2001 From: hetong007 Date: Tue, 20 Jan 2015 16:24:01 -0800 Subject: [PATCH] documentation update --- R-package/R/xgb.model.dt.tree.R | 2 +- R-package/man/xgb.model.dt.tree.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R-package/R/xgb.model.dt.tree.R b/R-package/R/xgb.model.dt.tree.R index e77208720..ec50728fe 100644 --- a/R-package/R/xgb.model.dt.tree.R +++ b/R-package/R/xgb.model.dt.tree.R @@ -49,7 +49,7 @@ #' #' bst <- xgboost(data = train$data, label = train$label, max.depth = 2, #' eta = 1, nround = 2,objective = "binary:logistic") -#' xgb.dump(bst, 'xgb.model.dump', with.stats = T) +#' xgb.dump(bst, 'xgb.model.dump', with.stats = TRUE) #' #' #agaricus.test$data@@Dimnames[[2]] represents the column names of the sparse matrix. #' xgb.model.dt.tree(agaricus.train$data@@Dimnames[[2]], filename_dump = 'xgb.model.dump') diff --git a/R-package/man/xgb.model.dt.tree.Rd b/R-package/man/xgb.model.dt.tree.Rd index 0030fb14d..f91a2afe9 100644 --- a/R-package/man/xgb.model.dt.tree.Rd +++ b/R-package/man/xgb.model.dt.tree.Rd @@ -51,7 +51,7 @@ train <- agaricus.train bst <- xgboost(data = train$data, label = train$label, max.depth = 2, eta = 1, nround = 2,objective = "binary:logistic") -xgb.dump(bst, 'xgb.model.dump', with.stats = T) +xgb.dump(bst, 'xgb.model.dump', with.stats = TRUE) #agaricus.test$data@Dimnames[[2]] represents the column names of the sparse matrix. xgb.model.dt.tree(agaricus.train$data@Dimnames[[2]], filename_dump = 'xgb.model.dump')