Debian Codegraph @

man/xgb.cb.evaluation.log.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/callbacks.R
3 \name{xgb.cb.evaluation.log}
4 \alias{xgb.cb.evaluation.log}
5 \title{Callback for logging the evaluation history}
6 \usage{
7 xgb.cb.evaluation.log()
8 }
9 \value{
10 An \code{xgb.Callback} object, which can be passed to \code{\link[=xgb.train]{xgb.train()}} or \code{\link[=xgb.cv]{xgb.cv()}}.
11 }
12 \description{
13 Callback for logging the evaluation history
14 }
15 \details{
16 This callback creates a table with per-iteration evaluation metrics (see parameters
17 \code{evals} and \code{custom_metric} in \code{\link[=xgb.train]{xgb.train()}}).
18
19 Note: in the column names of the final data.table, the dash '-' character is replaced with
20 the underscore '_' in order to make the column names more like regular R identifiers.
21 }
22 \seealso{
23 \link{xgb.cb.print.evaluation}
24 }