Coder Social home page Coder Social logo

mrinaljain17 / drake Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 401 KB

Implementation of: Clustering of the structures by using "snakes & dragons" approach, or correlation matrix as a signal - https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0223267

License: MIT License

Python 4.03% Jupyter Notebook 95.97%
clustering correlation-matrix consensus-clustering

drake's Introduction

Clustering by using "snakes and dragons"

Implementation of the paper Clustering of the structures by using "snakes & dragons" approach, or correlation matrix as a signal

Datasets

  1. Macroeconomics development indicators from the World Bank - Link

Requirements

  • NumPy

  • Pandas

  • Scikit-learn

  • Tqdm (for displaying a progress bar)

  • Yellowbrick (provides mechanism for selecting the best number of clusters k, as described in the paper)

    To install using the conda package mamager (recommended):

    conda install -c districtdatalabs yellowbrick

Optional requirements

The algorithm internally uses KMeans multiple times on random partitions of the entire dataset. Although sklearn's implementation of K-Means is widely used, it is not the fastest out there. Intel-backed DAAL's implementation was found to be much faster in the initial benchmarks, giving almost 8-12x speed-up. If DAAL is not installed, then the code will fallback to use the sklearn's implementation.

The recommended way to install DAAL for python would be using the conda package manager:

conda install -c intel daal4py

Refrences

  1. Consensus Clustering (paper): https://link.springer.com/article/10.1023/A:1023949509487
  2. Consensus Clustering (blog): https://towardsdatascience.com/consensus-clustering-f5d25c98eaf2

drake's People

Contributors

mrinaljain17 avatar

Watchers

 avatar  avatar

drake's Issues

Add documentation

  • Documentation for classes and functions (commit 3bf23c1)
  • High-level explanation of the code (to be added either in the docs or as a wiki page)
  • Some documentation in the notebooks

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.