Description Usage Arguments Value Examples
A function for voting. This is used by the Ensemble to predict on new data if the voting type is the same as this function name.
1 | MajorityWeight(list.of.predictions, weight.list)
|
list.of.predictions |
A list of lists where each sublist is a prediction from one of the models in the Ensemble. |
weight.list |
A list of weights for the respective models, to be used in the voting. |
A vector containing the predictions from the combined weighted vote of all models
1 2 | # This function is used by predict.Ensemble. It's usage is as follows:
# MajorityWeight(preds, Ensemble$weights)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.