Code Monkey home page Code Monkey logo

indices_kmeans's Introduction

Inertia-based indexes for the number of clusters in k-means: an experimental evaluation

This folder contains the code for the experiments and results of the conducted experiments. You can find here next data:

  • zip-archives with .pkl.gz files that contain indexes choice of k and related values of Normalized Mutual Index (NMI), Adjusted Rand Index (ARI) and Mean Absolute Relative Error (MARE) between predicted number of classes and ground truth. (Zip files here)
  • .csv files with all results of each zip-archive (CSV files here)
  • .xlsx files with summary over each dataset (Final Tables)
  • python notebook and python scripts of the experiments (NB! Experiments require main package 'mircl' being installed)

Original data used for the experiments (1.3 GB) and intermediate numpy matrices with partitions for each dataset (71 GB) can be provided on the request.

Requests: [email protected]

Datasets used in the experiments:

  1. Synthetic data generated with next parameters:
    1. Size (N) = 2500
    2. Dimensionality (M/V) = 15, 50
    3. Intermix parameter (a) = 0.25 (deprecated in the research), 0.5, 0.75, 0.85
    4. Number of clusters (K) = 7, 15, 21
  2. UCI datasets:
    1. Ecoli
    2. Iris
    3. Optdigits
    4. Segmentation
    5. Wisconsin Breast Cancer (Prognosis)
    6. Wisconsin Breast Cancer (Diagnosis)
    7. Wine
    8. Zoo
    9. Ionosphere (depricated)
    10. Glass (depricated)
    11. Pima Diabetes (depricated)
  3. Clustering Benchmark Datasets
    1. G2 (Only M/V = 8, 32; var = 10, 50, 90, 100)
    2. S
    3. Unbalance

Table of abbreviations

Abbreviation Expanded
KM K-Means
RS Random Swap
Eucl Euclidean
Conv Conventional
HR Hartigan Rule
CH Calinski-Harabasz index
WB WB index
XU Xu index
SW Silhouette Width
EL XX Elbow, XX - left and right step size
ARI Adjusted Rand Index
NMI Normalized Mutual Information
MARE Mean Absolute Relative Error (in number of clusters)
M number of dimensions
a interval of cluster width around centers (intermix)
var degree of clusters overlap
TrueK Actual number of clusters

indices_kmeans's People

Contributors

glendawur 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.