Learn AI Math

Batch

What is Batch?

In one sentence: A batch is a small group of training examples that the model looks at together before updating its numbers.

Datasets are often too big to process all at once, so they are split into batches. The model studies one batch, works out its average mistake, adjusts its weights, then moves on to the next batch. It is like grading homework in small piles instead of one giant stack.

What does Batch look like?

A dataset of 10,000 photos might be split into batches of 100, giving 100 updates per epoch.

Why does Batch matter?

Batches make training fit in computer memory and run efficiently on GPUs.

Last updated · Fact-checked by The AI Math

Linking to this page from a lesson or article?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.