internalsGet Pro

Module 04 · Lesson 5 of 11Pro

Learning rate: step size and stability

Level
Beginner
Topic
Calculus and optimization for machine learning
Reading time
14 min

When you finish this page you can

  1. Predict whether gradient descent will crawl, zigzag, settle or blow up from the learning rate and the loss’s curvature.
  2. Explain why one badly scaled feature forces a tiny learning rate on every weight, and fix it by standardizing.
  3. Pick a learning rate with a sweep on a log scale, and read the result.
  4. Describe a step decay schedule and when a fixed rate is enough.

Builds on 3 lessons

Start with lesson 113 min
  1. Derivatives: how outputs change with inputs13 min
  2. Gradient descent: walking downhill to a better model14 min
  3. Eigenvectors: the natural axes of a matrix16 min

The rate that worked yesterday returns NaN

At , our example online store, Farah, an ML engineer, predicts next month’s orders per customer for Joseph’s growth team, on a sample of 200,000 customers.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan