Description Usage Arguments Value Examples
View source: R/crossValidation.R
Generate a division of a data set into folds
1 | generateFolds(targetValues, nFolds, stratified = T)
|
targetValues |
the class labels |
nFolds |
number of folds |
stratified |
whether folds should be stratified by |
a vector giving the fold for each sample
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.