cv_helpers: Subset Tasks for CV THe functions use origami folds to subset...

train_taskR Documentation

Subset Tasks for CV THe functions use origami folds to subset tasks. These functions are used by Lrnr_cv (and therefore other learners that use Lrnr_cv). So that nested cv works properly, currently the subsetted task objects do not have fold structures of their own, and so generate them from defaults if nested cv is requested.

Description

Subset Tasks for CV THe functions use origami folds to subset tasks. These functions are used by Lrnr_cv (and therefore other learners that use Lrnr_cv). So that nested cv works properly, currently the subsetted task objects do not have fold structures of their own, and so generate them from defaults if nested cv is requested.

Usage

train_task(task, fold)

validation_task(task, fold)

Arguments

task

a task to subset

fold

an origami fold object to use for subsetting


tlverse/sl3 documentation built on Nov. 18, 2024, 12:46 a.m.