Description Usage Arguments Value Examples
Create balanced folds for cross validation
1 | balanced.cv.folds(..., nfolds = 10)
|
... |
vectors representing data |
nfolds |
number of folds to be created |
list with given input, nfolds and result. The result is a list matching the input with foldid attributed to each position.
1 2 3 | balanced.cv.folds(1:10, 11:15, nfolds = 2)
balanced.cv.folds(1:10, 11:13, nfolds = 10) # will give a warning
balanced.cv.folds(1:100, 101:133, nfolds = 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.