Skip to content

Instantly share code, notes, and snippets.

@socratesk
Created May 22, 2020 05:17
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/54ed9518d24d4ff7524595d2cfa12fdd to your computer and use it in GitHub Desktop.
Save socratesk/54ed9518d24d4ff7524595d2cfa12fdd to your computer and use it in GitHub Desktop.
from sklearn.metrics import mean_squared_error
mse = 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