Skip to content

Instantly share code, notes, and snippets.

@socratesk
Created May 22, 2020 05:20
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 socratesk/f5c0f045277912e4f9f735b90ced14c1 to your computer and use it in GitHub Desktop.
Save socratesk/f5c0f045277912e4f9f735b90ced14c1 to your computer and use it in GitHub Desktop.
from sklearn.metrics import mean_squared_error
import numpy as np
rmse = np.sqrt(mean_squared_error(y_actual, y_hat))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment