
This function extracts the predictions, observeds, and residuals from a train
object.
It uses the object's stacked predictions from cross-validation.
stackedTrainResiduals(object, show_class_id = 2L)
a data.table::data.table with predictions, observeds, and residuals
a train
object
For classification only: which class level to use for residuals