Index Ai Academy
Glossary · Phase 3 · Machine learning

Mini-batch

Also written: mini-batches, batch size

A small group of training examples processed together in one step. Batch size is how many examples it holds.

Try it now

This is the training loop in the lesson, drawn: compute the errors, get the gradient, take a step.

Learn it properly

Training with gradient descent · Adjust weights step by step to reduce the loss. About 30 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write