Description Usage Arguments Author(s)
Used to create balanced folds with respect to y input for k-fold validation.
1 | .createFolds(y, k = 10, list = TRUE, returnTrain = FALSE)
|
y |
split sample by balancing y |
k |
number of folds |
list |
logical whether to return folds in a list |
returnTrain |
logical whether to return training indices (T) or the test samples (F) |
Caret Package
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.