Skip to contents

Performs resampling on a model and extracts validation data and augmented predictions.

Usage

get_analysis_augment(model, splits)

Arguments

model

A machine learning model object, compatible with tune::fit_resamples.

splits

Resampling splits object, usually created using the rsample package.

Value

A tibble containing augmented prediction data from the validation set.

Examples

if (FALSE) {
  # Assuming 'model' and 'splits' are predefined
  validation_data <- get_analysis_augment(model, splits)
}