public class BasicAUCImbalancedPerformanceEvaluator.Estimator.Score extends Object implements Comparable<BasicAUCImbalancedPerformanceEvaluator.Estimator.Score>
Modifier and Type | Field and Description |
---|---|
protected boolean |
isPositive
True if example's true label is positive
|
protected int |
position
Age of example - position in the stream 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(BasicAUCImbalancedPerformanceEvaluator.Estimator.Score o)
Sort descending based on score value.
|
boolean |
equals(Object o) |
protected double value
protected int position
protected boolean isPositive
public Score(double value, int position, boolean isPositive)
value
- score valueisPositive
- true if the example's true label is positivepublic int compareTo(BasicAUCImbalancedPerformanceEvaluator.Estimator.Score o)
compareTo
in interface Comparable<BasicAUCImbalancedPerformanceEvaluator.Estimator.Score>
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.