liveBook · Manning

Precision-recall curve

As explained in Build AI Drug Discovery Pipelines

A precision-recall curve plots classifier precision against recall as the classification threshold varies.

A precision-recall (PR) curve plots classifier precision against recall as the decision threshold changes. Precision measures how many predicted positives are true positives; recall measures how many actual positives are found. section 5.1.3

In drug discovery, lowering the threshold for predicting cytochrome P450 inhibition usually increases recall but can reduce precision. The curve exposes this trade-off across possible operating points instead of judging one threshold alone. section 5.1.3

Use the curve to interpret model performance:

  • Prefer curves nearer the upper-right corner, representing high recall with high precision. section 5.1.3
  • Summarize the precision-recall balance with PR AUC; higher values indicate better performance. section 5.1.3
  • Compare against a random baseline: its PR AUC equals the class skew, or the proportion of positive instances. section 5.1.3

CYP inhibition screening

A logistic regression model predicts whether molecules inhibit a cytochrome P450 enzyme. Plotting its PR curve alongside a random baseline shows how well the model identifies known inhibitors while limiting false-positive predictions across thresholds. section 5.1.3

How Build AI Drug Discovery Pipelines covers it

How deep it goes
Explains precision-recall trade-offs, PR AUC, ideal behavior, and class-skew baselines, but does not detail plotting implementation.
Examples
Uses logistic regression predictions for cytochrome P450 inhibition and compares them with a random classifier baseline.
What it assumes
Defines precision, recall, decision thresholds, and class skew before interpreting the curve.
What you can do after
Evaluate classifier threshold trade-offs and compare performance using PR AUC and a class-skew random baseline.
How it connects
Connects precision, recall, decision thresholds, ROC curves, PR AUC, and class skew.

Also explained in

Compare how 5 books explain precision-recall curve →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Build AI Drug Discovery Pipelines. The section links point to the parts of the book it draws on.