vanillaBagger: Standard (vanilla) bagging procedure.

Description Usage Arguments Value Note See Also

View source: R/vanillaBagger.R

Description

Build an estimator from a simple resampling of data.

Usage

1
vanillaBagger(prediction, response, ...)

Arguments

prediction

a vector of predictions.

response

a vector whose ith component is the true response for the ith component of prediction.

...

implemented to allow reweighter to accept its output as its input.

Value

a list with component 'weights': a normalized vector of 1's with length equal to that of response.

Note

a "bagger" is just a reweighter who returns uniform weights regardless of the input.

See Also

Other reweighters: adaboostReweighter; arcfsReweighter; arcx4Reweighter; boost, boost.function, boost.list


boostr documentation built on May 2, 2019, 1:42 p.m.