xgbm.perf: Plot the training and testing set error over iterations

Description Usage Arguments

View source: R/helpers.R

Description

Plot the training and testing set error over iterations

Usage

1
xgbm.perf(object, plot.it = TRUE)

Arguments

object

An object of class 'xgbm'.

plot.it

Whether to plot, defaulting to plot.it = TRUE. If plot.it = FALSE, the best number of trees, as determined by cross validation, is returned.


harrysouthworth/mhdm documentation built on Feb. 4, 2022, 12:25 a.m.