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


zachmayer/caretEnsemble documentation built on Dec. 19, 2024, 5:17 p.m.