Description Usage Arguments Value Reweighters References See Also
View source: R/wrapReweighter.R
Use provided metadata on a given reweighter to create a boostr compatible wrapper.
1 2 3 | wrapReweighter(reweighter, reweighterInputPreds = "prediction",
reweighterInputResponse = "response", reweighterInputWts = "weights",
reweighterOutputWts = "weights", .verbose = FALSE)
|
reweighter |
a function which satisfies the abstract definition of a reweighter (see description below). |
reweighterInputPreds |
a string indicating the name of the argument
|
reweighterInputResponse |
a string indicating the name of the argument
|
reweighterInputWts |
a string indicating the name of the argument
|
reweighterOutputWts |
a string indicating the name of the entry in
|
.verbose |
a boolean indicating if warnings should be displayed or not. |
A function (wrapper around reweighter
) which is a 'reweighter
'
object. The wrapper's signature is (prediction, response, weights, ...)
and its output is a list that names the cell containing its weights
'weight
'. Hence, the wrapper is a boostr compatible reweighter.
See the Reweighters section in the vignette
vignette(topic = "boostr_user_inputs", package="boostr")
for
more details on reweighters.
Steven Pollack. (2014). Boost: a practical generalization of AdaBoost (Master's Thesis). http://pollackphoto.net/misc/masters_thesis.pdf
Other Wrapper Generators: buildEstimationProcedure
;
wrapAggregator
;
wrapPerformanceAnalyzer
;
wrapProcedure
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.