precision_recall_curve

probly.metrics.precision_recall_curve = <flextype.singledispatch.Flexdispatch object>

Compute precision-recall curve.

Parameters:
  • y_true – Binary ground-truth labels (0 or 1).

  • y_score – Predicted scores (higher means more likely positive).

Returns:

Precision values. recall: Recall values. thresholds: Decreasing score thresholds.

Return type:

precision

Examples using probly.metrics.precision_recall_curve

Visualising OOD detection results

Visualising OOD detection results