Statistics, Regression, Data Science, Machine Learning, AI.
mean_squared_error(y_test, y_pred,squared = False) print(f'\nRoot Mean Squared Error for Baseline Model: {rmse:.2f}') Root Mean Squared Error for Baseline Model: 52.68 This model achieves a better RMSE score, by scoring a value lower than the other two models. We can also plot the scatter plot