Learn R Programming

xgboost (version 3.1.2.1)

xgb.cb.print.evaluation: Callback for printing the result of evaluation

Description

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).

Usage

xgb.cb.print.evaluation(period = 1, showsd = TRUE)

Value

An xgb.Callback object, which can be passed to xgb.train() or xgb.cv().

Arguments

period

Results would be printed every number of periods.

showsd

Whether standard deviations should be printed (when available).

See Also

xgb.Callback