kfold | R Documentation |
K-fold Resampling
kfold(
x,
k = 10,
stratify.var = NULL,
strat.n.bins = 4,
seed = NULL,
verbosity = TRUE
)
x |
Input Vector |
k |
Integer: Number of folds. Default = 10 |
stratify.var |
Numeric vector (optional): Variable used for stratification. |
strat.n.bins |
Integer: Number of groups to use for stratification for
|
seed |
Integer: (Optional) Set seed for random number generator, in order to make
output reproducible. See |
verbosity |
Logical: If TRUE, print messages to console |
E.D. Gennatas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.