This function assigns each sample index (from 1 to n.samples
)
into a fold (from 1 to f
).
1 | randFolds(n.samples, f = 10)
|
n.samples |
The number of samples to group. |
f |
The number of folds to use. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.