Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.52 KB

09-rmse.md

File metadata and controls

38 lines (25 loc) · 1.52 KB

2.9 Root Mean Squared Error (RMSE)

Slides

Notes

  • In the previous lesson we found out our predictions were a bit off from the actual target values in the training dataset. We need a way to quantify how good or bad the model is. This is where RMSE can be of help.
  • Root Mean Squared Error (RMSE) is a way to evaluate regression models. It measures the error associated with the model being evaluated. This numerical figure then can be used to compare the models, enabling us to choose the one that gives the best predictions.

$$RMSE = \sqrt{ \frac{1}{m} \sum {(g(x_i) - y_i)^2}}$$

  • $g(x_i)$ is the prediction
  • $y_i$ is the actual
  • $m$ is the number of observations in the dataset (i.e. cars)

The entire code of this project is available in this jupyter notebook.

⚠️ The notes are written by the community.
If you see an error here, please create a PR with a fix.

Navigation