Concept icon
Concept

Mini-Batch Gradient Descent

Batch gradient descent computes each update using the full training set, so one update can be expensive when the dataset is large. Mini-batch gradient descent reduces that cost by splitting the data into small random groups and using one group at a time to estimate the gradient. The batch size is usually larger than 1 but smaller than the full dataset. This gives more frequent updates and often makes training much faster and easier to scale.

0

2

Concept icon
Updated 2026-08-12

Tags

Data Science

Foundations of Large Language Models Course

Computing Sciences

D2L

Dive into Deep Learning @ D2L

Machine Learning Yearning @ DeepLearning.AI

Deep Learning

Machine Learning

Supervised Learning