org.apache.spark.streamdm.classifiers.meta
The Bagging classifier trains an ensemble of classifier to improve performance. It is based on doing sampling with replacement at the input of each classifier.
It uses the following options:
Gets the current Model used for the Learner.
the Model object used for training
Init the model based on the algorithm implemented in the learner.
the ExampleSpecification of the input stream.
Train the model based on the algorithm implemented in the learner, from the stream of Examples given for training.
a stream of Examples
The Bagging classifier trains an ensemble of classifier to improve performance. It is based on doing sampling with replacement at the input of each classifier.
It uses the following options: