Lesson 7 of 87 min

Stochastic gradient descent

Take many cheap steps, each on a few examples picked at random: their arrows are a little off, but right on average, and they get there sooner.

After this lesson you can explain why training uses small random batches.

Loading the video…

Refreshers

An idea from an earlier lesson shows up here when the video leans on it.

You use this lesson in Lab 3: Batches, momentum and Adam, written by hand, after Momentum and Adam.

Facts last checked on .