Answers for "Confusion Matrix Heat Map"

0

Confusion Matrix Heat Map

cm = np.array([[1102,   88],[85,  725]])

import seaborn as sns
import matplotlib.pyplot as plt     

sns.heatmap(cm, annot=True,fmt="d",cmap='Blues')
Posted by: Guest on April-20-2021

Browse Popular Code Answers by Language