What is the difference between stochastic gradient descent (SGD) and gradient descent (GD)?

By ayush goel in 22 Sep 2023 | 01:49 pm
ayush goel

ayush goel

Student
Posts: 346
Member since: 21 Sep 2023

What is the difference between stochastic gradient descent (SGD) and gradient descent (GD)?

22 Sep 2023 | 01:49 pm
0 Likes
divas goyal

divas goyal

Student
Posts: 453
Member since: 22 Sep 2023

- Gradient Descent (GD) computes gradients using the entire dataset in each iteration.

   - Stochastic Gradient Descent (SGD) updates the model's parameters using only one randomly selected data point (or a small batch) in each iteration. It's computationally efficient but can have more erratic convergence.

23 Sep 2023 | 03:22 pm
0 Likes

Report

Please describe about the report short and clearly.