Last active
August 28, 2019 08:48
-
-
Save mvervuurt/aaea2ddd24168b1027962c79977bba6b to your computer and use it in GitHub Desktop.
SKLearn Handy Evaluation Metrics
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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