Skip to contents

This function fits a model to resampled datasets, preprocesses the analysis data, and then augments it.

Usage

get_validation_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 data from the analysis portion of the resampling splits.

Examples

if (FALSE) {
  # Assuming 'model' is a predefined model object and 'splits' is defined
  analysis_data <- get_validation_augment(model, splits)
}