Skip to content

PR Curve

A graph where the axes are Precision and Recall. By moving the confidence threshold, pairs of values are obtained and a curve is plotted: it shows how one metric is sacrificed for the other.

How to Read

  • The closer the curve is to the top-right corner, the better the model;
  • The area under the curve (AUPRC) — the final number: the closer to 1, the better;
  • A flat 'shelf' — the model does not distinguish between classes.

When PR is More Important

On balanced data, ROC curves are more commonly examined. On heavily imbalanced data (rare class — for example, equipment failures), the PR curve more fairly shows quality because it does not consider 'extra' TNs.

See Also

← All Terms