liveBook · Manning

Precision-recall curve

A precision-recall curve is a plot of a classifier’s precision against recall as its decision threshold varies.

How 2 Manning books explain it

Grokking Statistics

A precision-recall curve plots a classifier's precision against its recall across decision thresholds.

How it is used
Evaluates classifier performance across thresholds, especially when imbalanced classes make accuracy misleading.
How deep it goes
Explains threshold tradeoffs, confusion matrices, dataset size, and AUC, but does not derive the curve mathematically.
Examples
Uses toddler meltdown prediction, nap duration, a 100-sample dataset, Figure 8.9, and scikit-learn curve code.
What you can do after
Evaluate classifier thresholds with a precision-recall curve and summarize performance using AUC.

Read how Grokking Statistics explains precision-recall curve →

Machine Learning Algorithms in Depth

A precision-recall curve plots precision against recall across classification thresholds.

How it is used
Evaluates binary-classifier performance under changing classification thresholds, especially in information retrieval.
How deep it goes
Defines both axes, relates them to confusion-matrix counts, and adds mean precision and F1 summaries.
Examples
Uses a precision–recall plot and contrasts it visually with a receiver operating characteristic plot.
What you can do after
Evaluate classifier performance across thresholds and summarize it with mean precision or F1.

Read how Machine Learning Algorithms in Depth explains precision-recall curve →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.