trainEnsemble: Train a stacked ensemble of learning algorithms and return...

Description Usage Arguments Details Value

View source: R/learning.R

Description

Train a stacked ensemble of learning algorithms and return the resulting model.

Usage

1
2
3
4
5
trainEnsemble(
  algorithms = c("extinction", "naiveBayes", "lda", "qda"),
  task,
  osw.rate = 10
)

Arguments

algorithms

Names of the algorithm to be used as a character vector.

task

A classification task as returned by createTrainingTask().

Details

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.

Value

A trained model that can be used to make predictions.


AleMorales/SeedSorter documentation built on Feb. 12, 2020, 4:13 a.m.