Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Confusion matrix

import seaborn as sns
from sklearn.metrics import confusion_matrix as cm
conf_mat = cm(y_true, y_pred)
sns.heatmap(conf_mat, annot=True)
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #Confusion #matrix
ADD COMMENT
Topic
Name
3+4 =