MSE Calculater

PHOTO EMBED

Thu May 19 2022 06:09:06 GMT+0000 (Coordinated Universal Time)

Saved by @biggusdickus #python

from sklearn.metrics import mean_squared_error
car_predictions = lin_reg.predict(full_df_prepared)
lin_mse = mean_squared_error(car_predictions, label)
lin_rmse = np.sqrt(lin_mse)
lin_rmse
content_copyCOPY