Git Product home page Git Product logo

samplingmethods_in_datascience's Introduction

Sampling Methods to speed up Clustering Algorithms ⭐

K-Means Clustering πŸ”₯

  • KDD Biotrain Dataset

alt text

alt text

  • Worms Dataset

alt text

Bisecting K-Means Clustering πŸ”₯

  • KDD Biotrain Dataset

alt text

alt text

  • Worms Dataset

alt text

K-Center Clustering πŸ”₯

  • KDD Biotrain Dataset

alt text

  • Worms Dataset

alt text

K-Medoids Clustering πŸ”₯

  • K-medoids clustering is performed on artificial dataset because of its expensive runtime
  • Artificial Dataset (dataset visualization)

alt text

  • All sampling methods

alt text

Directory Structure πŸ“

  • The directory structure is as follows -
  • There are 4 directories for each clustering algorithm
β”‚   Averaged_Data_collection.xlsx
β”‚   README.md
β”‚
β”œβ”€β”€β”€bisecting
β”‚       kdd_coresets.py
β”‚       kdd_leverage.py
β”‚       kdd_uniform.py
β”‚       kdd_volume.py
β”‚       worms_coresets.py
β”‚       worms_leverage.py
β”‚       worms_uniform.py
β”‚       worms_volume.py
β”‚
β”œβ”€β”€β”€images
β”‚   β”‚   artificial.png
β”‚   β”‚   kmedoids.png
β”‚   β”‚
β”‚   β”œβ”€β”€β”€kdd
β”‚   β”‚       bisectingcoresets.png
β”‚   β”‚       bisectingvol_lev.png
β”‚   β”‚       kcenterall.png
β”‚   β”‚       kmeanscoresets.png
β”‚   β”‚       kmeansvol_lev.png
β”‚   β”‚
β”‚   └───worms
β”‚           bisectingall.png
β”‚           kcenterall.png
β”‚           kmeansall.png
β”‚
β”œβ”€β”€β”€kcenter
β”‚       kdd_coresets.py
β”‚       kdd_leverage.py
β”‚       kdd_uniform.py
β”‚       kdd_volume.py
β”‚       worms_coresets.py
β”‚       worms_leverage.py
β”‚       worms_uniform.py
β”‚       worms_volume.py
β”‚
β”œβ”€β”€β”€kdd
β”‚       bio_train.dat
β”‚       kdd_reduced.pickle
β”‚       kdd_reduced_1k.pickle
β”‚       kdd_reduced_20k.pickle
β”‚       kdd_reduced_30k.pickle
β”‚       kdd_reduced_40k.pickle
β”‚
β”œβ”€β”€β”€kmeans
β”‚       kdd_coresets.py
β”‚       kdd_leverage.py
β”‚       kdd_uniform.py
β”‚       kdd_volume.py
β”‚       worms_coresets.py
β”‚       worms_leverage.py
β”‚       worms_uniform.py
β”‚       worms_volume.py
β”‚
β”œβ”€β”€β”€kmedoid
β”‚       artificial_all.py
β”‚
└───worms
        README.txt
        worms_2d.png
        worms_2d.txt
        worms_64d.txt
        worms_reduced.pickle
        worms_reduced_20k.pickle
        worms_reduced_30k.pickle
        worms_reduced_40k.pickle

Results πŸ”₯

  • Lightweight coresets outperform all other sampling techniques in each combination ofdatasets and clustering algorithms.

  • For the KDD dataset, Leverage sampling performs better than Volume sampling, in eachcombination of KDD dataset and clustering algorithms.

  • For the Worms dataset, Volume sampling performs better than Leverage sampling, in eachcombination of Worms dataset and clustering algorithms.

  • Although lightweight coresets were designed for kmeans, they show a good performance onthe kcenters algorithm as well, beating rest of the sampling techniques.

samplingmethods_in_datascience's People

Contributors

sonisiddharth avatar

Stargazers

 avatar  avatar

Watchers

 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.