Which of the following is a key difference between batch gradient descent and stochastic gradient descent (SGD)?

Answer

SGD updates weights using a single training example, while batch uses the entire dataset.

Explanation

Batch gradient descent computes the gradient over the entire dataset for each update, while SGD uses one example per update, making it faster per iteration but noisier.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list