Learn R Programming

xgboost (version 3.1.2.1)

xgb.cb.evaluation.log: Callback for logging the evaluation history

Description

Callback for logging the evaluation history

Usage

xgb.cb.evaluation.log()

Arguments

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.

See Also

xgb.cb.print.evaluation