Definition
The empirical risk of on the sample is . ERM chooses a function class and selects .
Formula
- Counterexample: memorize the training labels and predict elsewhere: , . The losses are not independent because depends on all points.
- Success depends on the function class : statistical learning theory (Lecture 3) gives conditions under which ERM is consistent.
- ERM with the 0-1 loss is often NP hard; in practice one minimizes convex surrogate losses.
Appears in
- Lecture 1.2, empirical risk
- Lecture 1.2, Proposition 6
- Lecture 1.2, the ERM principle
- Lecture 1.2, counterexample
- Lecture 1.2, exam-style ERM task
- Lecture 2, linear loss minimization with the perceptron
- Lecture 3, ERM over a fixed class and when it succeeds
- Lecture 3, many minimizers in the overparameterized regime
- Lecture 4, stable ERM is consistent
- Lecture 4, ERM with strongly convex loss is stable