This is an utility function that takes the raw error of models and scales them into a 0-1 range according to one of three strategies:
model_weighting(x, trans = "softmax", ...)
A object describing the loss of each base model
Character value describing the transformation type. The available options are softmax, linear and erfc. The softmax and erfc provide a non-linear transformation where the weights decay exponentially as the relative loss of a given model increases (with respect to all available models). The linear transformation is a simple normalization of values using the max-min method.
Further arguments to normalize
and
proportion
functions \(na.rm = TRUE\)
An object describing the weights of models
using the complementary Gaussian error function
using a softmax function
A simple normalization using max-min method
These tranformations culminate into the final weights of the models.
Other weighting base models: EMASE
,
build_committee
,
get_top_models
,
model_recent_performance
,
select_best