aNet.ai
Machine Learning/Learning path
0day streak0XP · Lv 1
← 4. Learning as an Optimization Problem
Lesson 8 of 12 10 min · 123 words

Gradient descent

Repeatedly stepping against the gradient.

Gradient descent minimises by repeatedly taking a step against the gradient:

is the learning rate. Each step moves downhill. For convex objectives with a suitable , gradient descent converges to the global minimum; for non-convex ones, it converges to a local minimum or saddle point.

Full-batch gradient descent uses all examples per step — accurate but slow for big datasets. That motivates stochastic and mini-batch variants.

Formula to remember

ERM

Pick the hypothesis with the lowest training loss.

Quick check · +5 XP

A learning rate that is far too large usually makes gradient descent…

Practice this topic
Saved in this browser as you type.
aNet.ai · Introduction to Machine Learning · NewUU course outlineProgress saved in this browser