Description Usage Arguments Details Value See Also
View source: R/arcfsReweighter.R
A slightly modified implementation of the reweighter described in the arc-fs algorithm.
1 | arcfsReweighter(prediction, response, weights, ...)
|
prediction |
a vector of predictions. |
response |
a vector whose ith component is the true
response for the ith component of |
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. |
As per Leo Breiman's suggestions, a slight modification to the arc-fs algorithm has been made in the case where ε – the misclassification measure – exceed 0.5, or becomes 0. Should this happen β is set to -∞ and a warning is produced. At this point you are advised to restart the algorithm with equal probabilities or stop boosting, at that iteration.
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,
|
beta |
scalar weights to be used by |
Other arc-fs: arcfsAggregator
Other reweighters: adaboostReweighter
;
arcx4Reweighter
; boost
,
boost.function
, boost.list
;
vanillaBagger
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.