hfawaz / cd-diagram Goto Github PK
View Code? Open in Web Editor NEWCritical difference diagram with Wilcoxon-Holm post-hoc analysis.
License: GNU General Public License v3.0
Critical difference diagram with Wilcoxon-Holm post-hoc analysis.
License: GNU General Public License v3.0
In the example on your README.md example, don't you mean that cfl3 and cfl5 were the best overall (with average ranks around 1.5 and 2, respectively)?
Hello,
first, thanks for the open code!
I was wondering whether there's a way to calculate critical distance value as is calculated in the original implementation in Orange (by Demšar), where the Nemenyi or Bonferroni-Dunn test was used. Since your implementation only includes adjusted p-values, I assume it is not possible, as Holm's method doesn't have a table of critical values? (The only option is to visually inspect the diagram if that even makes sense?)
Thanks!
Below is the result when I am trying to compare four different classifiers.
['CoEye' 'TSF' 'cBOSS' 'Mr-SEQL']
CoEye 5.0
Mr-SEQL 61.0
TSF 8.0
cBOSS 10.0
dtype: float64
CoEye 3.279570
TSF 2.559140
cBOSS 2.537634
Mr-SEQL 1.623656
dtype: float64
('CoEye', 'Mr-SEQL', 1.6071230220582003e-11, True)
('Mr-SEQL', 'TSF', 1.5905280411437273e-07, True)
('Mr-SEQL', 'cBOSS', 1.3264426790567074e-06, True)
('CoEye', 'TSF', 1.6515911035945563e-05, True)
('CoEye', 'cBOSS', 4.231130849948383e-05, True)
('TSF', 'cBOSS', 0.4035623277672452, False)
Index(['CoEye', 'TSF', 'cBOSS', 'Mr-SEQL'], dtype='object')
[1, 2]
From the above result, it is clear that classifiers TSF and cBOSS are not significantly different. But I am not getting any clique for them in the CD.
Below is the CD diagram obtained.
it will be more useful if Friedman Nemenyi Test is embedded instead of Wilcoxon_holm. Thank you
Is this library can also be used for Bonferroni–Dunn post-hoc test?
Hi Hassan,
First of all, thank you for sharing the code.
I've run your code using several combinations of results, for all of them, I obtained interpretable diagrams except for one (I attach the results csv used - see the compressed file).
The thing is that it doesn't make sense, since the clf3 is a way better than the rest of the classifier.
Thank you again for your work.
Best,
David.
can we plot cd-diagram for regression models
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.