View source: R/100_Resampler.R
| setup_Bootstrap | R Documentation |
Setup Bootstrap Resampler
setup_Bootstrap(n_resamples = 10L, id_strat = NULL, seed = NULL)
n_resamples |
Integer [1, Inf): Number of resamples to make. |
id_strat |
Optional Character: Name of the column holding per-case grouping IDs, e.g.
subject IDs when the dataset contains repeated measurements. Cases sharing an ID stay in the
same resample, so a case can only be present in the training or the test set, not both.
Requires that |
seed |
Optional Integer [0, Inf): Random seed. |
BootstrapConfig object.
EDG
bootstrap_resampler <- setup_Bootstrap(n_resamples = 10L, seed = 2026L)
bootstrap_resampler
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.