From b04920d8e7e1bda51077c07e7feb7a187627b209 Mon Sep 17 00:00:00 2001 From: Vadim Khotilovich Date: Fri, 3 Apr 2015 11:14:09 -0500 Subject: [PATCH] update documentation for xgb.cv --- R-package/man/xgb.cv.Rd | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/R-package/man/xgb.cv.Rd b/R-package/man/xgb.cv.Rd index 8b65d9d4d..6f8ee06cb 100644 --- a/R-package/man/xgb.cv.Rd +++ b/R-package/man/xgb.cv.Rd @@ -6,7 +6,7 @@ \usage{ xgb.cv(params = list(), data, nrounds, nfold, label = NULL, missing = NULL, prediction = FALSE, showsd = TRUE, metrics = list(), - obj = NULL, feval = NULL, verbose = T, ...) + obj = NULL, feval = NULL, stratified = TRUE, verbose = T, ...) } \arguments{ \item{params}{the list of parameters. Commonly used ones are: @@ -51,13 +51,15 @@ value that represents missing value. Sometime a data use 0 or other extreme valu }} \item{obj}{customized objective function. Returns gradient and second order -gradient with given prediction and dtrain,} +gradient with given prediction and dtrain.} \item{feval}{custimized evaluation function. Returns \code{list(metric='metric-name', value='metric-value')} with given -prediction and dtrain,} +prediction and dtrain.} -\item{verbose}{\code{boolean}, print the statistics during the process.} +\item{stratified}{\code{boolean}, whether the sampling of folds should be stratified by the values of labels in \code{data}} + +\item{verbose}{\code{boolean}, print the statistics during the process} \item{...}{other parameters to pass to \code{params}.} }