public class FDR extends Object implements ClassificationMeasure
FDR = FP / (TP + FP)
Constructor and Description |
---|
FDR() |
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.