Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Glossary › Overfitting

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.
Open the lesson

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.

See it in 3D on the blog

  • What is noise in data? Why models miss points3 min

Related terms

  • Augmentation
  • Classifier
  • Dropout
  • Hyperparameter
  • Neuron
  • Regularisation