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
Related questions
Which of the following are common techniques to mitigate overfitting in deep neural networks?
View question →
Which of the following are components of a GAN (Generative Adversarial Network)?
View question →
Which of the following best describes the role of the activation function in a neural network?
View question →
In a convolutional neural network (CNN), what is the primary purpose of a pooling layer?
View question →
What is the main advantage of using an LSTM over a standard RNN for sequence modeling?
View question →
In the context of deep learning, what does the term 'epoch' refer to?
View question →