Callback for logging the evaluation history
Value
An xgb.Callback
object, which can be passed to xgb.train()
or xgb.cv()
.
Details
This callback creates a table with per-iteration evaluation metrics (see parameters
evals
and custom_metric
in xgb.train()
).
Note: in the column names of the final data.table, the dash '-' character is replaced with the underscore '_' in order to make the column names more like regular R identifiers.