bootstrap: Bootstrap resampling

Description Usage Arguments Value

View source: R/bootstrap_class.R

Description

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.

Usage

1
bootstrap(number_of_repetitions = 100, collect, ...)

Arguments

number_of_repetitions

(numeric, integer) The number of bootstrap repetitions. The default is 100.

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 struct_class.

Value

A bootstrap object.


structToolbox documentation built on Nov. 8, 2020, 6:54 p.m.