setup.cv.resample | R Documentation |
setup.cv.resample
: resample defaults for cross-validationsetup.cv.resample
: resample defaults for cross-validation
setup.cv.resample(
resampler = "strat.sub",
n.resamples = 10,
stratify.var = NULL,
train.p = 0.8,
strat.n.bins = 4,
target.length = NULL,
id.strat = NULL,
verbosity = 1
)
resampler |
Character: Type of resampling to perform: "bootstrap", "kfold", "strat.boot", "strat.sub". |
n.resamples |
Integer: Number of training/testing sets required |
stratify.var |
Numeric vector (optional): Variable used for stratification. |
train.p |
Float (0, 1): Fraction of cases to assign to traininig set for
|
strat.n.bins |
Integer: Number of groups to use for stratification for
|
target.length |
Integer: Number of cases for training set for
|
id.strat |
Vector of IDs which may be replicated: resampling should force replicates of each ID to only appear in the training or testing. |
verbosity |
Logical: If TRUE, print messages to console |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.