Description Usage Arguments Details Value See Also
View source: R/ensembling-pipes.R
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:
1 | model_weighting(x, trans = "softmax", ...)
|
x |
A object describing the loss of each base model |
trans |
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 |
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.
An object describing the weights of models
Other weighting base models: EMASE
,
build_committee
,
get_top_models
,
model_recent_performance
,
select_best
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.