fold_from_foldvec {origami} | R Documentation |
Build a Fold Object from a Fold Vector
Description
For V-fold type cross-validation. This takes a fold vector (validation set IDs) and builds a fold object for fold V.
Usage
fold_from_foldvec(v, folds)
Arguments
v |
An identifier of the fold in which observations fall for cross-validation. |
folds |
A vector of the fold status for each observation for cross-validation. |
See Also
Other fold generation functions:
fold_funs
,
folds2foldvec()
,
make_folds()
,
make_repeated_folds()
[Package origami version 1.0.7 Index]