The Zib lab has twelve measurements of glorps and zibbles. They don't want a line that explains yesterday's twelve points. They want one that predicts tomorrow's. The only honest way to check is to hide some points while you draw.
The Curve-o-matic at every degree, fitted to the same 8 training points. More wiggle always lowers training error. Test error drops at first, then climbs: that climb is overfitting.
Four test points is not many: a different split could tell a different story. Try New split a few times, then move on to cross-validation, which gives every point a turn in the test set.
Error is the RMSD: the typical vertical distance between a line and the points, √(mean of squared residuals). Lines are scored exactly as drawn; past the ends of your stroke the line continues flat. The Curve-o-matic fits a least-squares polynomial; at degree 7 it can pass through all 8 training points exactly. The cross-validation error pools every held-out prediction: each point is predicted once, by the line that never saw it.
Shortcuts: Enter next, C clear.