Draw the Line: Test Day

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.

Training setThe points your line is allowed to see while you draw it.
Test setPoints locked away until your line is final. They play the part of tomorrow's data.
OverfittingFollowing the training points so closely that you fit their noise too. Training error looks great; test error gets worse.
training point test point your line Curve-o-matic

How to read the numbers

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.