Skip to content

Instantly share code, notes, and snippets.

@mvervuurt
Last active August 28, 2019 08:48
Show Gist options
  • Save mvervuurt/aaea2ddd24168b1027962c79977bba6b to your computer and use it in GitHub Desktop.
Save mvervuurt/aaea2ddd24168b1027962c79977bba6b to your computer and use it in GitHub Desktop.
SKLearn Handy Evaluation Metrics
import numpy as np
from sklearn.metrics import mean_squared_error,mean_absolute_error
mean_absolute_error(test_data,test_predictions)
mean_squared_error(test_data,test_predictions)
np.sqrt(mean_squared_error(test_data,test_predictions))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment