我计算了12个数据集和11个分类器的Friedman测试结果,我想绘制如下的结果

我计算了所有的要求CD是单数(如图中所示)、分类器列表(C4.5+m+cf、C4.5+m和so)以及平均排序值(在x轴上)。
事先非常感谢
2:在这里输入链接描述
发布于 2018-12-15 19:15:12
import Orange
import matplotlib.pyplot as plt
names = ["first", "third", "second", "fourth" ]
avranks = [1.9, 3.2, 2.8, 3.3 ]
cd = Orange.evaluation.compute_CD(avranks, 30) #tested on 30 datasets
Orange.evaluation.graph_ranks(avranks, names, cd=cd, width=6, textspace=1.5)
plt.show()https://stackoverflow.com/questions/43383144
复制相似问题