stackedTrainResiduals: Extracted stacked residuals for the autoplot

View source: R/caretStack.R

stackedTrainResidualsR Documentation

Extracted stacked residuals for the autoplot

Description

This function extracts the predictions, observeds, and residuals from a train object. It uses the object's stacked predictions from cross-validation.

Usage

stackedTrainResiduals(object, show_class_id = 2L)

Arguments

object

a train object

show_class_id

For classification only: which class level to use for residuals

Value

a data.table::data.table with predictions, observeds, and residuals


caretEnsemble documentation built on Sept. 13, 2024, 1:11 a.m.