wrapPerformanceAnalyzer(analyzePerformance, analyzerInputPreds = "prediction", analyzerInputResponse = "response", analyzerInputOOBObs = "oobObs", .verbose = FALSE)
analyzePerformance
's signature that represents the estimator's
predictions.analyzePerformance
's signature that represents the true response
associated with the estimator's predictions.analyzePerformance
's signature that represents the vector of indices
indicating which observations were out-of-bag.analyzePerformance
) which is also
a 'performanceAnalyzer
' object. The function's signature is
(prediction, response, oobObs, ...)
and it's output preserves the
output of analyzePerformance
. Hence, the wrapper is a boostr
compatible performance analyzer.
boost
.
That is, if the signature of a function can be transformed to
(predictions, responses, ...)
, then
wrapPerformanceAnalyzer
can be run on the function, and the
results can be used by boostBackend
. The output of the
performance analyzer is entirely preserved, and can be accessed by running
estimatorPerformance
on the resulting 'boostr
' object. At every iteration of the ensemble building phase, boostBackend
passes performance Analysis
:
data
.
data
.
data
that were not included
in the sample of data
that went into creating the estimator. This
variable is passed in as oobObs
.
boost
through the ...
's.
defaultOOBPerformanceAnalysis
, has signature
(prediction, response, oobObs)
and calculates
an individual, out-of-bag, misclassification vector, the overall out-of-bag
error rate, and the confusion matrix for a particular estimator, given the
information passed to it.wrapPerformanceAnalyzer
are that they accept
predictions, true responses, and a vector of indices for out-of-bag
observations. After each iteration of the ensemble building phase in
boostBackend
, these three objects are fed to a performance
analyzer. The output of the performance analyze is stored in the
estimatorPerformance
attribute of the object returned by
boostBackend
.
buildEstimationProcedure
;
wrapAggregator
;
wrapProcedure
; wrapReweighter