Machine Learning, Linear Regression, Gradient Descent, Python, Stochastic Gradient.
down! And eventually it exploded. This step size is way too large. Try stepsize = 0.01 It converged quite fast with stepsize of 0.01. The b0 and b1 after coverage is: b0 = 0.058 b1 = 0.622 Stochastic Gradient Descent (SGD) In SGD, the gradient is computed using just one sample instead of the entire