Related Experiment Video
Updated: Nov 19, 2025

Author Spotlight: AI-Driven Trypanosome Species Detection from Microscopic Images
Published on: October 27, 2023
The Effect of Class Imbalance on Precision-Recall Curves
1School of Informatics, University of Edinburgh, Edinburgh EH8 9AB, U.K. ckiw@inf.ed.ac.uk.
Abstract:
In this note, I study how the precision of a binary classifier depends on the ratio r of positive to negative cases in the test set, as well as the classifier's true and false-positive rates. This relationship allows prediction of how the precision-recall curve will change with r, which seems not to be well known. It also allows prediction of how Fβ and the precision gain and recall gain measures of Flach and Kull (2015) vary with r.
Related Concept Videos
Receiver Operating Characteristic Plot
Accuracy and Precision
Sensitivity, Specificity, and Predicted Value
Sensitivity is the...
Calibration Curves: Correlation Coefficient
Prediction Intervals
However, the point estimate is most likely not the exact value of the population parameter, but close to it. After calculating point estimates, we construct interval estimates, called confidence intervals or prediction intervals. This prediction interval comprises a range of values unlike the point estimate and is a better predictor of the observed sample value, y.
Dose-Response Relationship: Selectivity and Specificity
