| xgb.cb.print.evaluation | R Documentation |
The callback function prints the result of evaluation at every period iterations.
The initial and the last iteration's evaluations are always printed.
Does not leave any attribute in the booster (see xgb.cb.evaluation.log for that).
xgb.cb.print.evaluation(period = 1, showsd = TRUE)
period |
Results would be printed every number of periods. |
showsd |
Whether standard deviations should be printed (when available). |
An xgb.Callback object, which can be passed to xgb.train() or xgb.cv().
xgb.Callback
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.