Callback closure for resetting the booster's parameters at each iteration.
a list where each element corresponds to a parameter that needs to be reset.
Each element's value must be either a vector of values of length
This is a "pre-iteration" callback function used to reset booster's parameters at the beginning of each iteration.
Note that when training is resumed from some previous model, and a function is used to
reset a parameter value, the
nrounds argument in this function would be the
the number of boosting rounds in the current training.
Callback function expects the following values to be set in its calling frame:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.