Skip to content

Instantly share code, notes, and snippets.

@ucalyptus
Last active July 26, 2019 06:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ucalyptus/90ba456df40511a73063d2d70ab51320 to your computer and use it in GitHub Desktop.
Save ucalyptus/90ba456df40511a73063d2d70ab51320 to your computer and use it in GitHub Desktop.
NEVER store RMSE again

RMSE(t) = sqrt((t/t-1)RMSE(t-1)^2 + (1/t)(y_true(t) - y_pred(t))^2)

where t is the number of observations

Courtesy

Modification

Treat (1/t) as alpha and increase alpha , you will notice recent observations to receive more weights than previous ones.

Read More on Exponnential Smoothing

@ucalyptus
Copy link
Author

I noticed that I suck at LaTeX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment