public static class ROC.VectorOverThreshold extends Object implements ROC.Predicate<ROC.DecreasingVectorIter>
Modifier and Type | Field and Description |
---|---|
(package private) double |
threshold
Threshold
|
(package private) NumberVector<?> |
vec
Vector to use as reference
|
Constructor and Description |
---|
ROC.VectorOverThreshold(NumberVector<?> vec,
double threshold)
Constructor.
|
NumberVector<?> vec
double threshold
public ROC.VectorOverThreshold(NumberVector<?> vec, double threshold)
vec
- Reference vector.threshold
- Threshold value.public boolean test(ROC.DecreasingVectorIter o)
test
in interface ROC.Predicate<ROC.DecreasingVectorIter>