Package elki.utilities.ensemble
Class EnsembleVotingMax
- java.lang.Object
-
- elki.utilities.ensemble.EnsembleVotingMax
-
- All Implemented Interfaces:
EnsembleVoting
public class EnsembleVotingMax extends java.lang.Object implements EnsembleVoting
Simple combination rule, by taking the maximum.- Since:
- 0.5.5
- Author:
- Erich Schubert
-
-
Constructor Summary
Constructors Constructor Description EnsembleVotingMax()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
combine(double[] scores)
Combine scores function.double
combine(double[] scores, int count)
Combine scores function.
-
-
-
Method Detail
-
combine
public double combine(double[] scores)
Description copied from interface:EnsembleVoting
Combine scores function. Note: it is assumed that the scores are comparable.- Specified by:
combine
in interfaceEnsembleVoting
- Parameters:
scores
- Scores to combine- Returns:
- combined score.
-
combine
public double combine(double[] scores, int count)
Description copied from interface:EnsembleVoting
Combine scores function. Note: it is assumed that the scores are comparable.- Specified by:
combine
in interfaceEnsembleVoting
- Parameters:
scores
- Scores to combinecount
- Number of entries to use.- Returns:
- combined score.
-
-