Callback for resetting booster parameters at each iteration
Source:R/callbacks.R
xgb.cb.reset.parameters.Rd
Callback for resetting booster parameters at each iteration
Arguments
- new_params
List of parameters needed to be reset. Each element's value must be either a vector of values of length
nrounds
to be set at each iteration, or a function of two parameterslearning_rates(iteration, nrounds)
which returns a new parameter value by using the current iteration number and the total number of boosting rounds.
Value
An xgb.Callback
object, which can be passed to xgb.train()
or xgb.cv()
.