Class LabelEvaluationUtil.PRCurve
java.lang.Object
org.tribuo.classification.evaluation.LabelEvaluationUtil.PRCurve
- Enclosing class:
- LabelEvaluationUtil
Stores the Precision-Recall curve as three arrays: the precisions, the recalls,
and the thresholds associated with those values.
Not yet a record, but it will be one day.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal double[]The precision at the corresponding threshold.final double[]The recall at the corresponding threshold.final double[]The threshold values. -
Constructor Summary
ConstructorsConstructorDescriptionPRCurve(double[] precision, double[] recall, double[] thresholds) Constructs a precision-recall curve. -
Method Summary
-
Field Details
-
precision
The precision at the corresponding threshold. -
recall
The recall at the corresponding threshold. -
thresholds
The threshold values.
-
-
Constructor Details
-
PRCurve
Constructs a precision-recall curve.- Parameters:
precision- The precisions.recall- The recalls.thresholds- The classification thresholds for the precisions and recalls.
-