What Is Gradient Descent? A Complete Beginner’s GuideGradient Descent
Mateenah Jahan the Computational Scientist
0:00 / 0:00
What Is Gradient Descent? A Complete Beginner’s GuideGradient Descent
37 просмотров · 11 дн. назад
Mateenah Jahan the Computational Scientist
32 подписчика
37 просмотров · 11 дн. назад
Gradient descent is the single idea behind almost every machine
learning model ever trained — and you don't need a maths background
to understand it.
In this video we build it from scratch: a person walking down a
mountain in thick fog, feeling for the downhill direction and taking
one small step at a time. From there we name every part, read every
formula out loud in plain English, and then run the whole algorithm
by hand on paper with real numbers you can check with a calculator.
No prior calculus. No code required. Just the idea, properly.
CHAPTERS
0:00 The one-picture idea: downhill in the fog
0:00 Turning "how wrong am I" into a single number
0:00 The gradient is just the slope
0:00 The formula, read out loud
0:00 Pen and paper: five steps, by hand
0:00 The learning rate — the knob that ruins everything
0:00 From one knob to a million knobs
0:00 Batch, stochastic and mini-batch
0:00 Where it gets stuck, and the fixes
0:00 Where you already meet it + recap
WHAT YOU'LL WALK AWAY WITH
What a cost function is and why errors get squared
What a derivative actually tells you, in one sentence
Why the update rule has a minus sign in it
How to read θ ← θ − α∇J(θ) out loud and mean it
Why too large a learning rate destroys training
The difference between SGD and mini-batch, finally made clear
What local minima, saddle points and ravines really are
THE WORKED EXAMPLE
We predict the price of mangoes from a model that starts out
believing they're free, and watch gradient descent discover the right
answer on its own in five steps. Every number is on screen. Pause and
check them.
NEXT VIDEO
The Adam optimizer — what happens when you