A model that predicts a hospital stay of 4.1 days is making a claim that is almost certainly false: the stay will not be exactly 4.1 days.
What the decision-maker needs is a range that the real outcome will fall in with a stated frequency, so that a ward can plan beds, a lender can size a reserve, or a clinician can decide whether to order another test.
Many models output uncertainty (the variance of a Gaussian head, the spread of an ensemble, the softmax of a classifier), and the previous chapter showed that these numbers are often miscalibrated. Calibration repairs the marginal frequencies of a probabilistic forecast, but it needs a good model of the whole distribution. Conformal prediction asks for less and delivers a different kind of promise: given any predictor, however it was built, and a held-out calibration set, it produces prediction sets whose coverage holds in finite samples and does not depend on the data distribution. The only assumption is that calibration and test points are exchangeable.
this article develops the method from first principles, proves what it guarantees, shows with simulations where those guarantees are tight, and then shows the three most common ways they fail in practice and the repair for each.
Continue with the book
Explore the full treatment, worked examples, and exercises in Applied AI Under Uncertainty.
Companion article for Applied AI Under Uncertainty, published by Choral Software. Article text and original examples © 2026 Choral Software. All rights reserved.
