📞 0339-0387701 (WhatsApp) Contact

« Back to Data Science & AI (NCCIA)

What is stochastic gradient descent?

A. Gradient descent that uses the test set only
B. Gradient descent that updates weights using one example, or a small batch, at a time ✅
C. A method that never updates weights
D. Gradient descent with no data

Correct Answer: B. Gradient descent that updates weights using one example, or a small batch, at a time

Explanation

Stochastic gradient descent updates weights frequently on single examples or small batches, which is faster and can escape shallow minima.