Package moa.evaluation
Class WindowAUCImbalancedPerformanceEvaluator.Estimator.Score
- java.lang.Object
-
- moa.evaluation.WindowAUCImbalancedPerformanceEvaluator.Estimator.Score
-
- All Implemented Interfaces:
Comparable<WindowAUCImbalancedPerformanceEvaluator.Estimator.Score>
- Enclosing class:
- WindowAUCImbalancedPerformanceEvaluator.Estimator
public class WindowAUCImbalancedPerformanceEvaluator.Estimator.Score extends Object implements Comparable<WindowAUCImbalancedPerformanceEvaluator.Estimator.Score>
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
isPositive
True if example's true label is positiveprotected int
posWindow
Age of example - position in the window where the example was addedprotected double
value
Predicted score of the example
-
Constructor Summary
Constructors Constructor Description Score(double value, int position, boolean isPositive)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(WindowAUCImbalancedPerformanceEvaluator.Estimator.Score o)
Sort descending based on score value.boolean
equals(Object o)
-
-
-
Method Detail
-
compareTo
public int compareTo(WindowAUCImbalancedPerformanceEvaluator.Estimator.Score o)
Sort descending based on score value.- Specified by:
compareTo
in interfaceComparable<WindowAUCImbalancedPerformanceEvaluator.Estimator.Score>
-
-