Package elki.utilities.ensemble
Class EnsembleVotingInverseMultiplicative
- java.lang.Object
-
- elki.utilities.ensemble.EnsembleVotingInverseMultiplicative
-
- All Implemented Interfaces:
EnsembleVoting
public class EnsembleVotingInverseMultiplicative extends java.lang.Object implements EnsembleVoting
Inverse multiplicative voting: \( 1-\prod_i(1-s_i) \)- Since:
- 0.6.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EnsembleVotingInverseMultiplicative.Par
Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description static EnsembleVotingInverseMultiplicative
STATIC
Static instance.
-
Constructor Summary
Constructors Constructor Description EnsembleVotingInverseMultiplicative()
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.
-
-
-
Field Detail
-
STATIC
public static final EnsembleVotingInverseMultiplicative STATIC
Static instance.
-
-
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.
-
-