Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to get confusion matrix in python

from sklearn.metrics import confusion_matrix
conf_mat = confusion_matrix(y_test, y_pred)
Source by localhost #
 
PREVIOUS NEXT
Tagged: #confusion #matrix #python
ADD COMMENT
Topic
Name
1+1 =