View source: R/bootstrap_class.R
bootstrap | R Documentation |
In bootstrap resampling a subset of samples is selected at random with replacement to form a training set. Any sample not selected for training is included in the test set. This process is repeated many times, and performance metrics are computed for each repetition.
bootstrap(number_of_repetitions = 100, collect, ...)
number_of_repetitions |
(numeric, integer) The number of bootstrap repetitions. The default is |
collect |
(character) The name of a model output to collect over all bootstrap repetitions, in addition to the input metric. |
... |
Additional slots and values passed to |
A bootstrap
object with the following output
slots:
results | (data.frame) |
metric | (data.frame) |
collected | (logical, list) |
A bootstrap
object inherits the following struct
classes:
[bootstrap]
>> [resampler]
>> [iterator]
>> [struct_class]
M = bootstrap(
number_of_repetitions = 10,
collect = "vip")
I = bootstrap(number_of_repetitions = 10, collect = 'vip')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.