Skip to main content
AI & ML Output Prediction Hard +35 XP

Gradient Descent Direction

Which direction does gradient descent move?

AI & MLRead-only
# Loss function L(w), gradient dL/dw = 5
# Learning rate α = 0.1
# New weight = w - α * gradient

What is the output?

Show answer and explanation

Answer: Opposite to gradient (downhill)

Gradient descent subtracts the gradient to move toward lower loss. The gradient points uphill, so subtracting it moves downhill.

Hint: We want to minimize loss — which direction is 'down'?

What this challenge tests

Output Prediction in AI & ML: optimization, gradient-descent.

Related challenges