Debian Codegraph @

man/xgb.cb.print.evaluation.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/callbacks.R
3 \name{xgb.cb.print.evaluation}
4 \alias{xgb.cb.print.evaluation}
5 \title{Callback for printing the result of evaluation}
6 \usage{
7 xgb.cb.print.evaluation(period = 1, showsd = TRUE)
8 }
9 \arguments{
10 \item{period}{Results would be printed every number of periods.}
11
12 \item{showsd}{Whether standard deviations should be printed (when available).}
13 }
14 \value{
15 An \code{xgb.Callback} object, which can be passed to \code{\link[=xgb.train]{xgb.train()}} or \code{\link[=xgb.cv]{xgb.cv()}}.
16 }
17 \description{
18 The callback function prints the result of evaluation at every \code{period} iterations.
19 The initial and the last iteration's evaluations are always printed.
20
21 Does not leave any attribute in the booster (see \link{xgb.cb.evaluation.log} for that).
22 }
23 \seealso{
24 \link{xgb.Callback}
25 }