From 99af2c8ffd39bfc8e696646d6b24df2ab0a4fc99 Mon Sep 17 00:00:00 2001 From: El Potaeto Date: Sun, 28 Dec 2014 11:33:14 +0100 Subject: [PATCH] Documentation of the function --- R-package/R/xgb.importance.R | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/R-package/R/xgb.importance.R b/R-package/R/xgb.importance.R index f9bd40705..b971c58ff 100644 --- a/R-package/R/xgb.importance.R +++ b/R-package/R/xgb.importance.R @@ -1,7 +1,10 @@ #' Show importance of features in a model #' -#' Read a xgboost model in text file format. Return a data.table of the features with their weight. +#' Read a xgboost model in text file format. +#' Can be tree or linear model (text dump of linear model are only supported in dev version of Xgboost for now). #' +#' Return a data.table of the features with their weight. +#' #' #' @importFrom data.table data.table #' @importFrom magrittr %>% #' @importFrom data.table :=