What is overfitting?
When a model memorises details of its training data and gets worse on new data. It shows up as training loss falling while held-out loss rises.
Where it is taught
Training in practice. A real network, real data, a real training loop. Use it to see overfitting, capacity and the learning rate for yourself.
What the lesson leaves you with
- Underfitting: the model is too simple. Overfitting: it memorises noise in the training set.
- Judge a model on test data it has not trained on, never on its training loss alone.
- Learning rate, layer sizes and training length are hyperparameters you choose.
Questions
- What is overfitting?
- When a model memorises details of its training data and gets worse on new data. It shows up as training loss falling while held-out loss rises.
- Where is overfitting used in AI?
- A real network, real data, a real training loop. Use it to see overfitting, capacity and the learning rate for yourself.
- What is the key idea to remember about overfitting?
- Underfitting: the model is too simple. Overfitting: it memorises noise in the training set.
- Where can I learn overfitting step by step?
- In the lesson “Training in practice” in Gradient’s course on the maths behind AI, with interactive diagrams and questions.