A framework for benchmarking clustering algorithms

Marek Gagolewski
9/20/2022
cs.LGstat.ML

Official code: gagolews/clustering-benchmarks (43 stars, last commit 2025-07-14). 2 more implementations below.

Abstract

The evaluation of clustering algorithms can involve running them on a variety of benchmark problems, and comparing their outputs to the reference, ground-truth groupings provided by experts. Unfortunately, many research papers and graduate theses consider only a small number of datasets. Also, the fact that there can be many equally valid ways to cluster a given problem set is rarely taken into account. In order to overcome these limitations, we have developed a framework whose aim is to introduce a consistent methodology for testing clustering algorithms. Furthermore, we have aggregated, polished, and standardised many clustering benchmark dataset collections referred to across the machine learning and data mining literature, and included new datasets of different dimensionalities, sizes, and cluster types. An interactive datasets explorer, the documentation of the Python API, a description of the ways to interact with the framework from other programming languages such as R or MATLAB, and other details are all provided at <https://clustering-benchmarks.gagolewski.com>.

View on arXivView PDF

Code Implementations(3)

A Framework for Benchmarking Clustering Algorithms

438R, CSSApr 21, 20201 years agoNOASSERTION
benchmark-suitebenchmarkingclustercluster-analysisclustering+9 more

A framework for benchmarking clustering algorithms – Benchmark suite, version 1

101R, ShellAug 17, 20221 years agoNOASSERTION
benchmarkbenchmark-datasetsclusteringdatadataset+2 more

A framework for benchmarking clustering algorithms – Benchmark results (for version 1 of the Suite)

10R, ShellAug 19, 20211 months agoNOASSERTION
benchmarkbenchmark-datasetsclusteringdatadataset+2 more

Similar Papers

Cite this paper

@article{gagolewski2022framework,
  title  = {A framework for benchmarking clustering algorithms},
  author = {Marek Gagolewski},
  year   = {2022},
  eprint = {2209.09493},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.09493}
}

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/2209.09493.svg)](https://codeofpaper.com/paper/2209.09493)

Discussion