org.encog.ensemble.aggregator
public class MajorityVoting extends Object implements EnsembleAggregator
| Constructor and Description |
|---|
MajorityVoting() |
| Modifier and Type | Method and Description |
|---|---|
MLData |
evaluate(ArrayList<MLData> outputs) |
MLData |
evaluate(ArrayList<MLData> outputs,
double threshold,
double lowValue,
double highValue) |
String |
getLabel() |
boolean |
needsTraining() |
void |
setTrainingSet(EnsembleDataSet trainingSet) |
void |
train() |
public MLData evaluate(ArrayList<MLData> outputs, double threshold, double lowValue, double highValue)
public MLData evaluate(ArrayList<MLData> outputs)
evaluate in interface EnsembleAggregatorpublic String getLabel()
getLabel in interface EnsembleAggregatorpublic void train()
train in interface EnsembleAggregatorpublic void setTrainingSet(EnsembleDataSet trainingSet)
setTrainingSet in interface EnsembleAggregatorpublic boolean needsTraining()
needsTraining in interface EnsembleAggregatorCopyright © 2014. All Rights Reserved.