Creates resamples for repeated K-fold cross-validation stratified by target variable.
repeated_kfold(nrep = 2L, nfolds = 5L, expr)
Number of replications.
Number of folds (min 2, max 20). Should match the value
Quoted expression for creating resamples.
expr is a call of function
or other from the package.
nfolds columns. Each column is an indicator variable
with 1 corresponds to observations in validation dataset (stratified by target).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.