Debian Codegraph @

man/xgb.get.num.boosted.rounds.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/xgb.Booster.R
3 \name{xgb.get.num.boosted.rounds}
4 \alias{xgb.get.num.boosted.rounds}
5 \alias{length.xgb.Booster}
6 \title{Get number of boosting in a fitted booster}
7 \usage{
8 xgb.get.num.boosted.rounds(model)
9
10 \method{length}{xgb.Booster}(x)
11 }
12 \arguments{
13 \item{model, x}{A fitted \code{xgb.Booster} model.}
14 }
15 \value{
16 The number of rounds saved in the model as an integer.
17 }
18 \description{
19 Get number of boosting in a fitted booster
20 }
21 \details{
22 Note that setting booster parameters related to training
23 continuation / updates through \code{\link[=xgb.model.parameters<-]{xgb.model.parameters<-()}} will reset the
24 number of rounds to zero.
25 }