Created
September 16, 2020 19:56
-
-
Save dongr0510/4870b469e9d4e3f4a5a3dca6bafee200 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
cm_y1 = confusion_matrix(ytest[:,0],yhat[:,0]) | |
cm_y2 = confusion_matrix(ytest[:,1],yhat[:,1]) | |
cm_y3 = confusion_matrix(ytest[:,2],yhat[:,2]) | |
cm_y4 = confusion_matrix(ytest[:,3],yhat[:,3]) | |
cm_y5 = confusion_matrix(ytest[:,4],yhat[:,4]) | |
print (cm_y1) | |
--------------- | |
[[1053 140] | |
[ 191 616]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment