public class Fallout extends Object implements ClassificationMeasure
FPR = FP / N = FP / (FP + TN)
Fall-out is actually Type I error and closely related to specificity (1 - specificity).
Constructor and Description |
---|
Fallout() |
Modifier and Type | Method and Description |
---|---|
double |
measure(int[] truth,
int[] prediction)
Returns an index to measure the quality of classification.
|
String |
toString() |
public double measure(int[] truth, int[] prediction)
ClassificationMeasure
measure
in interface ClassificationMeasure
truth
- the true class labels.prediction
- the predicted class labels.Copyright © 2015. All rights reserved.