Generates a list of indices for K-Folds Cross-Validation.
KFold(target, nfolds = 10, stratified = FALSE, seed = 0)
Samples to split in K folds.
Number of folds.
whether to apply Stratified KFold.
random seed to be used.
a list of indices for K-Folds Cross-Validation
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.