small changes in doc
This commit is contained in:
@@ -22,6 +22,16 @@ setinfo(object, ...)
|
||||
\description{
|
||||
Set information of an xgb.DMatrix object
|
||||
}
|
||||
\details{
|
||||
It can be one of the following:
|
||||
|
||||
\itemize{
|
||||
\item \code{label}
|
||||
\item \code{weight}
|
||||
\item \code{base_margin}
|
||||
\item \code{group}
|
||||
}
|
||||
}
|
||||
\examples{
|
||||
data(agaricus.train, package='xgboost')
|
||||
train <- agaricus.train
|
||||
|
||||
Reference in New Issue
Block a user