-
-
Notifications
You must be signed in to change notification settings - Fork 125
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
百分比的混淆矩阵计算出来的位数太长,保存下来的图片数据是重合的,请问是否有办法设置一下小数点位数?真的十分感谢解答!!!

Steps/Code to Reproduce
这是我的代码:
cm = ConfusionMatrix(actual_vector=y_trueLabel, predict_vector=y_predictLabel, digit=4)
cm.plot(cmap=plt.cm.Reds, normalized=True, number_label=True, plot_lib="matplotlib")
plt.xticks(rotation=45)
plt.savefig(fname="C:\Users\Graduate01\Desktop\222\%s" % '235')
Expected Behavior
Actual Behavior
Operating System
Python Version
PyCM Version (Use : pycm.__version__)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working