public class Recall extends Object implements ClassificationMeasure
Sensitivity
Constructor and Description |
---|
Recall() |
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.