java.lang.Cloneable
, ClassificationMethod
, ClassificationStatisticsPresenter
public class MajorityVotingMethod extends EnsembleClassificationMethod implements ClassificationStatisticsPresenter
Modifier and Type | Field | Description |
---|---|---|
static int |
UNKNOWN_VALUE |
Value that is treated as unknown
|
AverageAggregation, MajorityVotingAggregation, MedianAggregation
Constructor | Description |
---|---|
MajorityVotingMethod(SimpleClassifierWrapper[] classifiers) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
classificationStatisticsToString() |
|
ClassificationResult |
classify(Example example) |
Classifies an example according to a defined classification scheme (method)
|
java.lang.Object |
clone() |
|
ClassificationStatisticsCollector |
getClassificationStatisticsCollector() |
public static final int UNKNOWN_VALUE
public MajorityVotingMethod(SimpleClassifierWrapper[] classifiers)
public ClassificationResult classify(Example example)
ClassificationMethod
classify
in interface ClassificationMethod
example
- example to classifypublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface ClassificationMethod
clone
in class EnsembleClassificationMethod
java.lang.CloneNotSupportedException
public java.lang.String classificationStatisticsToString()
classificationStatisticsToString
in interface ClassificationStatisticsPresenter
public ClassificationStatisticsCollector getClassificationStatisticsCollector()
getClassificationStatisticsCollector
in interface ClassificationStatisticsPresenter