Class LabelEvaluationUtil.PRCurve

java.lang.Object
org.tribuo.classification.evaluation.LabelEvaluationUtil.PRCurve
Enclosing class:
LabelEvaluationUtil

public static class LabelEvaluationUtil.PRCurve extends Object
Stores the Precision-Recall curve as three arrays: the precisions, the recalls, and the thresholds associated with those values.
  • Field Details

    • precision

      public final double[] precision
    • recall

      public final double[] recall
    • thresholds

      public final double[] thresholds
  • Constructor Details

    • PRCurve

      public PRCurve(double[] precision, double[] recall, double[] thresholds)