What happens if the learning rate is too high?
Reveal the answer and explore the explanation.
02EasyCoreVisualWhat happens if the learning rate is too high?
Answer
EasyCoreVisual
What happens if the learning rate is too high?
Answer
Scalar controlling the size of an optimizer update.
Practical example
Choose a small step to avoid overshooting a minimum.
PythonRelated concept example
w, lr = -3.0, 0.2
for _ in range(7):
w -= lr * 2*w
print(w, w*w)The update minimizes f(w)=w² for 0 < lr < 1.
Reference: Further reading ↗