Overfitting
Lesson 7 of 20 · ML.Micro
A model flexible enough to fit everything also fits the noise.
A polynomial of degree d can bend d-1 times. Degree 1 is a line, degree 3 a gentle S. Degree 3 follows this wave nicely.
Training error always falls; test error does not
Training error near zero but high test error means...
Do it in the browser: a real machine learning tool, a short mission and instant feedback. No install.
Start this lesson — free