QUESTION 2 OF 10

What happens if the learning rate is too high?

Reveal the answer and explore the explanation.

02
EasyCoreVisual

What happens if the learning rate is too high?

Answer
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 ↗

Last 30 min revisionHigh-yield interview Q&As