Machine Learning, Linear Regression, Gradient Descent, Python, Stochastic Gradient.
descent. I normalized x and y here to obtain b0 and b1 for the least square solution so that I can compare them with gradient descent. Gradient Descent The algorithm of Gradient Descent is: This is the help function to update b0 and b1, also output both gradients — g(b0) and g(b1) # gradient