MachineLearningEnsemble | R Documentation |
Create an ensemble or comparison table of existing MachineLearning and/or Regression models
MachineLearningEnsemble(
models,
compare.only = FALSE,
evaluation.subset = NULL,
evaluation.weights = NULL,
output = "Comparison",
optimal.ensemble = FALSE
)
models |
A |
compare.only |
Logical; whether to just produce a table comparing the models or additionally combine them to make a new ensemble model. |
evaluation.subset |
An optional vector specifying a subset of observations to be used for evaluating the models. If not specified, models will only be compared on the training data. If models are not trained on the whole sample To evaluate on the whole sample, a subset must still be specified. |
evaluation.weights |
An optional vector of weights to be used for evaluating the models. Ignored if no evaluation.subset is supplied. A warning is given if these differ from the training weights. |
output |
If |
optimal.ensemble |
Logical; whether to find the ensemble with the best accuracy or
r-squared, calculated on the |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.