Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

simple heatmap

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: #simple #heatmap
ADD COMMENT
Topic
Name
6+2 =