KFold: K-Folds cross validation index generator
Description
Generates a list of indices for K-Folds Cross-Validation.
Usage
KFold(target, nfolds = 10, stratified = FALSE, seed = 0)
Arguments
target
Samples to split in K folds.
stratified
whether to apply Stratified KFold.
Value
a list of indices for K-Folds Cross-Validation