Description Usage Arguments Value Note See Also
View source: R/arcx4Reweighter.R
An implementation of the reweighter described in the arc-x4 algorithm.
1 | arcx4Reweighter(prediction, response, weights, m, ...)
|
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. |
m |
a vector length equal to |
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,
|
m |
the updated count of misclassifications. |
If you're going to use this reweighter with boost
you'll want
to initialize m
to 0 by including .reweighterArgs=list(m=0)
inside
your metadata
list.
Other reweighters: adaboostReweighter
;
arcfsReweighter
; boost
,
boost.function
, boost.list
;
vanillaBagger
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.