Gradient Descent & Stockastic Gradient Descent
Gradient Descent & Stockastic Gradient Descent
Descent Works?
Sep 14, 2019·4 min read
Why Stochastic Gradient Descent Works? | by Sujan Dutta | Towards Data Science
We can easily see that in this case update steps are performed
very quickly and that is why we can reach the minimum in a very
small amount of time.
for e in range(epochs):
epoch_loss = []
W_prev = W_new
print(np.average(epoch_loss))
return W_new