Description Usage Arguments Details Value
Train a stacked ensemble of learning algorithms and return the resulting model.
1 2 3 4 5 | trainEnsemble(
algorithms = c("extinction", "naiveBayes", "lda", "qda"),
task,
osw.rate = 10
)
|
algorithms |
Names of the algorithm to be used as a character vector. |
task |
A classification task as returned by |
The list of algorithms that can be used are the same as for trainAlgorithm()
.
The stacked ensemble calculates a weight for each algorithm based on a hill climbing approach.
A trained model that can be used to make predictions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.