Optimizers: SGD, momentum, Adam
Step 8 of 14 in Deep Learning · Build · Medium
Momentum smooths noisy gradients; Adam also scales each parameter's step by its recent gradient size. Adam is the default; good SGD can generalize better.
Build it
Adam from the paper
Implement SGD, momentum and Adam; race them on Rosenbrock and on your MNIST MLP.
Done when: Loss curves for all three with one sentence on the result.
Resources
Earn this star
On the map, you log what you built. Finish the step and its star lights.
Open this step on the map