fold_from_foldvec: Build a Fold Object from a Fold Vector

Description Usage Arguments See Also

View source: R/utils.R

Description

For V-fold type cross-validation. This takes a fold vector (validation set IDs) and builds a fold object for fold V.

Usage

1

Arguments

v

An identifier of the fold in which observations fall for CV.

folds

A vector of the fold status for each observation for CV.

See Also

Other fold generation functions: fold_funs, folds2foldvec, make_folds, make_repeated_folds


jeremyrcoyle/origami documentation built on April 3, 2018, 2:30 a.m.