bootstrap {structToolbox} | 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.