Practice free →
HomeClaudeaifoundationslinear_regression_and_supervised_learning › Why is STOCHASTIC gradient descent often preferr…

Why is STOCHASTIC gradient descent often preferred over BATCH gradient descent on very large datasets?

ASGD has no oscillation around the minimum
BSGD always finds a lower loss than batch
CSGD can start making progress immediately without scanning the whole dataset; each step is cheap
DSGD requires no learning rate
Answer & Solution
Correct answer: C. SGD can start making progress immediately without scanning the whole dataset; each step is cheap
On large n, batch's per-step cost (full pass over data) becomes prohibitive. SGD makes progress with each example — often reaching a good neighbourhood of the optimum much faster, at the cost of small oscillations.
Solve this in the app — Claude practice & 24k+ MCQs →
Related questions