Hacker News·First covered 27 Nov 2026
An introduction to uncertainty in machine learning
Christian Henning's explainer covers where uncertainty in machine learning comes from and how to judge whether a model's uncertainty is faithful enough to base decisions on.
Stats
(As of 27 Nov 2026)- Points
- 134
- Comments
- 12
- Submitted by
- chrhenning
- Posted
- 23h
- Epistemic uncertainty shrinks with more data; aleatoric uncertainty comes from what the inputs miss, and the boundary depends on what is measured.
- A steering example shows a single Gaussian, the assumption hidden in mean squared error, aiming at the divider where drivers split left and right.
- A mixture of two Gaussians can represent that split, but a richer model needs more data to settle on the right fit.
- Bayesian inference keeps every plausible fit, weighting each by a prior and by how well it explains the data.
The discussion
- ThemeA reader singled out the wind power example, noting that the cases needing accurate probabilities are the ones with the least data. comment
- ThemeOne commenter describes restore tests abandoned before finishing, and a reply frames it as the gap between Value at Risk and Expected Shortfall. comment
- ThemeThe author answers a question on non-parametric models and Chebyshev-style bounds, placing them roughly in the post's section on guarantees. comment
- CounterpointOne reader stopped early over what they saw as LLM-written prose, and argues such use should be declared. comment