📜  混淆矩阵热图 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:19.385000             🧑  作者: Mango

代码示例1
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')