Gradient Descent, Data Science, Data Visualization, Deep Learning, Machine Learning.
increasing max_iter to improve the fit. warnings.warn("Maximum number of iteration reached before " SGDRegressor(learning_rate='constant', max_iter=100) y_pred = reg.predict(X_test) r2_score(y_test,y_pred) >>> 0.43059547063734904 Showing Convergence  VS Batch Gradient Descent In (SGD) you can see