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 › Epoch

What is epoch?

One pass through the whole training set.

Where it is taught

Batches, epochs and schedules. The practical vocabulary of a training run. How much data goes into each step, how many times the data is used, and how the learning rate changes along the way.

What the lesson leaves you with

  • One step uses one batch. One epoch is one pass through all the data.
  • Bigger batches are smoother but cost more, and noise falls only with the square root.
  • Learning rates usually warm up at the start and decay towards the end.
Open the lesson

Questions

What is epoch?
One pass through the whole training set.
Where is epoch used in AI?
The practical vocabulary of a training run. How much data goes into each step, how many times the data is used, and how the learning rate changes along the way.
What is the key idea to remember about epoch?
One step uses one batch. One epoch is one pass through all the data.
Where can I learn epoch step by step?
In the lesson “Batches, epochs and schedules” in Gradient’s course on the maths behind AI, with interactive diagrams and questions.

Related terms

  • Adam
  • Batch
  • Gradient descent
  • Learning rate
  • Loss
  • Momentum