fitted.xgbm: Fitted values from an xgbm object

Description Usage Arguments

View source: R/xgbm_methods.R

Description

Fitted values from an xgbm object

Usage

1
2
## S3 method for class 'xgbm'
fitted(object, type = "cv", ...)

Arguments

object

An object of class 'xgbm'.

type

String giving the type of fitted values. Defaults to 'cv' and the fitted values are the test set cross-validation predictions. The only other option is 'model' in which case the fitted model, at the best cross-validation iteration, is run on the data used to train it.


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