Giter Site home page Giter Site logo

cd-diagram's Introduction

Critical Difference Diagrams

This repository is adapted from hfawaz/cd-diagram (tnx, @hfawaz!).

It contains the necessary code to generate a critical difference diagram based on the Wilcoxon-Holm method to detect pairwise significance.

Result

Run python main.py --help using Python 3 to see the options.

Quick start: python main.py --file ./data/example.csv --output-dir ./figs will generate a critical difference diagram with Wilcoxon-Holm post-hoc analysis for the data present in data/example.csv (!!!!!!!!!!!!!!place url!!!!!!!!!!!).

figs/cd-diagram-example

First the Friedman test is performed to reject the null hypothesis, we then proceed with a post-hoc analysis based on the Wilcoxon-Holm method. We can clearly see how on average clf3 and clf5 were the best algorithms over the 15 datasets. A thick horizontal line groups a set of classifiers that are not significantly different.

Requirements

To run this code you will need the following python packages:

Reference

This repo is just my touch to make the script more flexible and nice to use, the real authors is @hfawaz, who wrote hfawaz/cd-diagram.

As demanded in his repo, if you re-use this work, please cite:

@article{IsmailFawaz2018deep,
  Title                    = {Deep learning for time series classification: a review},
  Author                   = {Ismail Fawaz, Hassan and Forestier, Germain and Weber, Jonathan and Idoumghar, Lhassane and Muller, Pierre-Alain},
  journal                  = {Data Mining and Knowledge Discovery},
  Year                     = {2019},
  volume                   = {33},
  number                   = {4},
  pages                    = {917--963},
}

cd-diagram's People

Contributors

fl33tw00d avatar hfawaz avatar jpcbertoldo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.