folds2foldvec {origami} | R Documentation |
Build a Fold Vector from a Fold Object
Description
For V-fold type cross-validation. This takes a fold object and returns a fold
vector (containing the validation set IDs) for use with other tools like
cv.glmnet
.
Usage
folds2foldvec(folds)
Arguments
folds |
A |
See Also
Other fold generation functions:
fold_from_foldvec()
,
fold_funs
,
make_folds()
,
make_repeated_folds()
[Package origami version 1.0.7 Index]