Linear Regression, Gradient Descent, Machine Learning, Deep Learning, Naem Azam.
let’s check how accurate the model is by finding the RMSE value. For this model, it came out to be 54.03. 1 2 3 4 #Calculating the mean square error from sklearn.metrics import mean_squared_error y_pred = reg.predict(X) print(np.sqrt(mean_squared_error(Y, y_pred))) Gradient Descent Variants There