Learn R Programming

boostr (version 1.0.0)

arcx4Reweighter: Reweighter for the arc-x4 algorithm.

Description

An implementation of the reweighter described in the arc-x4 algorithm.

Usage

arcx4Reweighter(prediction, response, weights, m, ...)

Arguments

prediction
a vector of predictions.
response
a vector whose $ith$ component is the true response for the $ith$ component of prediction.
weights
a vector of weights. They don't necessarily need to sum to 1.
...
implemented to allow reweighter to accept its output as its input.
m
a vector length equal to nrow(data) enumerating each time the $ith$ entry in data has been misclassified by all the estimators previously built.

Value

For internal bookkeeping, this function is inherits from the 'reweighter' class. It returns a named list with components
weights
the updated weights calculated from the input weights, prediction and response.
m
the updated count of misclassifications.

See Also

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