import seaborn as sns
sns.set(font_scale=1.4) # y label 横向
import matplotlib.pyplot as plt
'''
https://zhuanlan.zhihu.com/p/35494575
fmt ='.0%'#显示百分比
fmt ='f' 显示完整数字 = fmt ='g'
fmt ='.3'显示小数的位数 = fmt ='.3f' = fmt ='.3g'
'''
confusion_matrix = pd.DataFrame(data = np.array([[99.9, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
[0.0, 99.9, 0.0, 0.0, 0.0,
plot confusion_matrix
最新推荐文章于 2024-04-18 19:59:42 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)