Created
June 5, 2020 08:10
-
-
Save malharb/6abd306e8bc74023b8ab41a818da506f to your computer and use it in GitHub Desktop.
Pulsar - evaluation
This file contains hidden or 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
prediction = model.predict_classes(X_test) | |
prediction = prediction.reshape(5370,) | |
data = {'True':y_test,'Predicted':prediction} | |
df2 = pd.DataFrame(data) | |
from sklearn.metrics import classification_report,confusion_matrix | |
print(classification_report(df2['True'],df2['Predicted'])) | |
print(confusion_matrix(df2['True'],df2['Predicted'])) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment