Description Usage Arguments Value Examples
Internal function for constructing a class-balanced segment list for cross-validation (copy from a previous verson from package pamr).
1 | balanced.folds(y, nfolds = min(min(table(y)), 10))
|
y |
A categorical vector of class memberships |
nfolds |
The required number of CV-segements or "folds". |
A list of sample segments.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.