-
-
Save amankharwal/e1b28fd7024568ce0c28fcc6a2fe3252 to your computer and use it in GitHub Desktop.
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
# Classification | |
from sklearn.metrics import accuracy_score | |
accuracy_score(y_test, y_pred) | |
# Regression | |
from sklearn.metrics import mean_absolute_error | |
mean_absolute_error(y_test,y_pred) | |
# Clustering | |
from sklearn.metrics import adjusted_rand_score | |
adjusted_rand_score(y_test,y_pred) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment