public class WindowAUCImbalancedPerformanceEvaluator.Estimator.Score extends Object implements Comparable<WindowAUCImbalancedPerformanceEvaluator.Estimator.Score>
Modifier and Type | Field and Description |
---|---|
protected boolean |
isPositive
True if example's true label is positive
|
protected int |
posWindow
Age of example - position in the window where the example was
added
|
protected double |
value
Predicted score of the example
|
Constructor and Description |
---|
Score(double value,
int position,
boolean isPositive)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(WindowAUCImbalancedPerformanceEvaluator.Estimator.Score o)
Sort descending based on score value.
|
boolean |
equals(Object o) |
protected double value
protected int posWindow
protected boolean isPositive
public Score(double value, int position, boolean isPositive)
value
- score valueposition
- score position in window (defines its age)isPositive
- true if the example's true label is positivepublic int compareTo(WindowAUCImbalancedPerformanceEvaluator.Estimator.Score o)
compareTo
in interface Comparable<WindowAUCImbalancedPerformanceEvaluator.Estimator.Score>
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.