public class Recall extends java.lang.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.
|
static double |
of(int[] truth,
int[] prediction)
Calculates the recall/sensitivity.
|
java.lang.String |
toString() |
public static final Recall instance
public double measure(int[] truth,
int[] prediction)
ClassificationMeasuremeasure in interface ClassificationMeasuretruth - the true class labels.prediction - the predicted class labels.public static double of(int[] truth,
int[] prediction)
public java.lang.String toString()
toString in class java.lang.Object