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


origami documentation built on March 18, 2018, 1:25 p.m.