Nov 4, 2020
Its better to set actual first on the confusion matrix to get same frame like report
print(confusion_matrix(y_test, y_pred))
print(classification_report(y_test, y_pred))
dtype: int64
predict
actual [[ 39 32]
[ 22 222]]
Its better to set actual first on the confusion matrix to get same frame like report
print(confusion_matrix(y_test, y_pred))
print(classification_report(y_test, y_pred))
dtype: int64
predict
actual [[ 39 32]
[ 22 222]]
Distraction-free reading. No ads.
Organize your knowledge with lists and highlights.
Tell your story. Find your audience.
Read member-only stories
Support writers you read most
Earn money for your writing
Listen to audio narrations
Read offline with the Medium app
Max Kleiner's professional environment is in the areas of OOP, UML and coding - among other things as a trainer, developer and consultant.