Skip to content

Instantly share code, notes, and snippets.

@letthedataconfess
Created December 29, 2021 18:24
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 letthedataconfess/c011f221552e082f1fc3d8ec762092bf to your computer and use it in GitHub Desktop.
Save letthedataconfess/c011f221552e082f1fc3d8ec762092bf to your computer and use it in GitHub Desktop.
from sklearn.metrics import mean_squared_error
rmse = (np.sqrt(mean_squared_error(Y_test, y_pred)))
print('RMSE is {}'.format(rmse))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment