Log Loss and Proper Probability Scoring

Show why expected log loss favors a true probability and distinguish a probability forecast from a hard decision.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Evaluate the loss under the outcome distribution
  2. Accuracy discards differences among predictions on one side of its threshold

Evaluate the loss under the outcome distribution

If a binary outcome is positive with probability \(q\), predicting \(p\) incurs expected log loss \(-q\log p-(1-q)\log(1-p)\). For \(0<q<1\), differentiating yields a stationary point at \(p=q\), and strict convexity gives the minimum. A single surprising outcome can penalize a confident forecast heavily. The claim of propriety compares expected loss across repeated draws under the same distribution.

Accuracy discards differences among predictions on one side of its threshold

Probabilities \(0.55\) and \(0.95\) give the same label at threshold one-half. Their log losses differ according to the outcome. Estimating probabilities well and choosing the right decision rule can therefore require different measurements. Logistic regression fits probabilities with this loss. Calibration examines how a fitted model’s reported probabilities behave on held-out data.[1][2]

References

  1. Gareth James et al., An Introduction to Statistical Learning ↩
  2. Trevor Hastie, Robert Tibshirani and Jerome Friedman, The Elements of Statistical Learning ↩