Skip to content

Instantly share code, notes, and snippets.

@curiousily
Created April 2, 2019 20:48
Show Gist options
  • Save curiousily/599513d26d90f1036e47c27f3066014d to your computer and use it in GitHub Desktop.
Save curiousily/599513d26d90f1036e47c27f3066014d to your computer and use it in GitHub Desktop.
from sklearn.metrics import mean_squared_error
from math import sqrt
def rmse(h, y):
return sqrt(mean_squared_error(h, y))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment