Update app.py
Browse files125 unmodified lines126127128129130131132133125 unmodified lines#plt.text(intercept_random, slope_random,'MSE:'+str(np.round(cal_mse(X,y,intercept_random, slope_random),2)), fontsize=22)### (5.7) draw gradient updatesif gradient_descent:plt.plot(b_history, w_history, 'o-', ms=3, lw=1.5, color='black')125 unmodified lines126127128129130131132133125 unmodified lines#plt.text(intercept_random, slope_random,'MSE:'+str(np.round(cal_mse(X,y,intercept_random, slope_random),2)), fontsize=22)### (5.7) draw gradient updates#if gradient_descent:# plt.plot(b_history, w_history, 'o-', ms=3, lw=1.5, color='black')
app.py+2-2