Preview:
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
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter