Selecting the Number of Clusters K with a Stability Trade-off: an Internal Validation Criterion

Alex Mourer, Florent Forest, Mustapha Lebbah, Hanane Azzag, Jérôme Lacaille
6/15/2020
cs.LGstat.ML

Official code: FlorentF9/skstab (23 stars, Python, MIT, last commit 2023-05-17).

Abstract

Model selection is a major challenge in non-parametric clustering. There is no universally admitted way to evaluate clustering results for the obvious reason that no ground truth is available.

Show full abstract

The difficulty to find a universal evaluation criterion is a consequence of the ill-defined objective of clustering. In this perspective, clustering stability has emerged as a natural and model-agnostic principle: an algorithm should find stable structures in the data. If data sets are repeatedly sampled from the same underlying distribution, an algorithm should find similar partitions. However, stability alone is not well-suited to determine the number of clusters. For instance, it is unable to detect if the number of clusters is too small. We propose a new principle: a good clustering should be stable, and within each cluster, there should exist no stable partition. This principle leads to a novel clustering validation criterion based on between-cluster and within-cluster stability, overcoming limitations of previous stability-based methods. We empirically demonstrate the effectiveness of our criterion to select the number of clusters and compare it with existing methods. Code is available at https://github.com/FlorentF9/skstab.

View on arXivView PDF

Code Implementations(1)

FlorentF9/skstabOfficial100%
MIT

:cookie: Clustering stability analysis in Python with a scikit-learn compatible API.

235PythonJun 24, 20203 years agoMIT

Similar Papers

Cite this paper

@article{mourer2020selecting,
  title  = {Selecting the Number of Clusters K with a Stability Trade-off: an Internal Validation Criterion},
  author = {Alex Mourer and Florent Forest and Mustapha Lebbah and Hanane Azzag and Jérôme Lacaille},
  year   = {2020},
  eprint = {2006.08530},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.08530}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2006.08530.svg)](https://codeofpaper.com/paper/2006.08530)

Discussion