subset_folds: Make folds work on subset of data

View source: R/reindex_folds.R

subset_foldsR Documentation

Make folds work on subset of data

Description

subset_folds takes a origami style folds list, and returns a list of folds applicable to a subset, by subsetting the training and validation index vectors

Usage

subset_folds(folds, subset)

Arguments

folds

an origami style folds list

subset

an index vector to be used to subset the data


jeremyrcoyle/sl3 documentation built on April 30, 2024, 10:16 p.m.