Skip to content

Instantly share code, notes, and snippets.

@socratesk
Last active May 29, 2020 04:43
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/28e5983b1821d3bee7044b4b9b0633e5 to your computer and use it in GitHub Desktop.
Save socratesk/28e5983b1821d3bee7044b4b9b0633e5 to your computer and use it in GitHub Desktop.
from sklearn.metrics import mean_squared_log_error
import numpy as np
rmsle = np.sqrt(mean_squared_log_error(y_actual, y_hat))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment