Overfitting.
A more flexible curve can always fit the data it was trained on more closely. Whether it predicts new data better is a different question. The dark dots are twelve students the curve is fitted to; new students show how it does on data it has not seen.
From Chapter 4: Generalization, which explains these figures step by step.
Figure
How flexible should the curve be?
- Students used for fitting
- Fitted curve
- Flexibility
- degree 1: straight line
- Error on fitted students
- 66.2
- Error on new students
- hidden
Figure
Two errors, two stories
- Error on fitted students
- Error on new students
- Degree
- 2
- Fitted students
- 11.9
- New students
- 28.8
- Verdict
- About right