Machine Learning, Linear Regression, Gradient Descent, Python, Stochastic Gradient.
g_b1 = gradient_descent(b0, b1, stepsize) # collect gradient_vector_length for plot gradient_vector_length.append(np.sqrt(g_b0**2 + g_b1**2)) plt.plot(gradient_vector_length) plt.title('Gradient Vector Length') The first stepsize I tried is 0.1, and that is the gradient vector size: It never go