Prediction Intervals and Split Conformal Prediction › Summary

Michael BrenndoerferOctober 29, 20262 min read
Machine Learning from ScratchAll chapters
Part 12 of 15Calibration and Prediction Uncertainty
Chapter 77Prediction Intervals and Split Conformal Prediction › Summary
Reading section 9 of 10 · Summary · 2 minSection 9 of 10 · 2 min

Section 9 of 10 · 2 min read

Prediction Intervals and Split Conformal Prediction › SummarySection view · Sections in this chapter9 / 10 ↓
Reading tools Definitions, links & notes

Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.

Article links

Make inline references clickable

Notes & comments

Confidence intervals target population quantities; prediction intervals target future observations. Split conformal constructs sets from a predictor and score fixed before calibration. Compute held-out scores, choose k=⌈(n+1)(1−α)⌉k=\lceil(n+1)(1-\alpha)\rceil, use the kkth calibration score when k≤nk\le n, and use +∞+\infty otherwise. Absolute-residual scores turn that cutoff into a symmetric margin around the prediction.

The guarantee P(Yn+1∈C^(Xn+1))≥1−αP(Y_{n+1}\in\hat C(X_{n+1}))\ge1-\alpha averages over calibration and fresh test draws under score exchangeability. Almost surely distinct scores also give the upper slack bound 1−α+1/(n+1)1-\alpha+1/(n+1); ties can be more conservative. Using an ordinary uncorrected empirical quantile does not provide the same general lower-bound argument.

This marginal guarantee does not ensure conditional or subgroup coverage, nor nominal coverage for every realized test batch. Training-only positive normalization can redistribute width, but our crude scale proxy still has local failures. Classification uses the same rank mechanism to threshold candidate label scores. An empty classification set necessarily misses the true label; a set containing every label in an exhaustive class space necessarily includes it. For proper nonempty subsets, cardinality alone does not calibrate individual inclusion.

Check score construction and data roles before interpreting the guarantee. Distribution shift, ordinary serial dependence and reuse of calibration outcomes for model selection can remove its justification. Keep fitting, calibration and evaluation separate, handle the infinite-threshold case explicitly, and monitor labeled deployment outcomes. The coverage theorem is a precise probability statement under assumptions, not a promise that every reported interval or observed batch succeeds.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy