SESK: Stuff Everyone Should Know · sesk.info/ai-epoch-iterations
With 1,000 training examples and a batch size of 50, how many iterations make one epoch?
20 iterations. 1,000 divided by 50.
- 50
- 1,000
- 20 ✔
Why: An epoch is one full pass over the training set, every example seen once. Each iteration processes one batch, so an epoch takes N divided by batch size iterations.
Huh, didn't know that: With a batch size of one (stochastic gradient descent), one epoch takes as many iterations as there are examples.
My model wanted to watch the training data one more time. I said fine, but this is the last epoch.
Like this card?
References
Answer: 20. An epoch is one full pass over the training set, every example seen once. Each iteration processes one batch, so an epoch takes N divided by batch size iterations.
- Google Machine Learning Glossary: epoch developers.google.com/machine-learning/glossary
1 epoch = (N/batch size) = (1,000 / 50) = 20 iterations
Checked 2026-10-10.
Think this answer is wrong? Tap "Challenge this answer" on the card in the game and tell us why.
More stuff everyone should know
That's stuff everyone should know.