Description Usage Arguments Value
Creates folds stratified by target variable.
1 | create_folds(y, nfolds = 5L, probs = seq(0, 1, length.out = 11))
|
y |
Target variable vector. |
nfolds |
Number of folds. |
probs |
Numeric vector of probabilities with values in [0, 1] range. |
Folds numbers vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.