Fast and explainable clustering based on sorting

Xinye Chen, Stefan Güttel
2/3/2022
cs.LGcs.DSstat.CO

Official code: nla-group/classix (131 stars, Python, MIT, last commit 2026-10-25).

Abstract

We introduce a fast and explainable clustering method called CLASSIX. It consists of two phases, namely a greedy aggregation phase of the sorted data into groups of nearby data points, followed by the merging of groups into clusters.

Show full abstract

The algorithm is controlled by two scalar parameters, namely a distance parameter for the aggregation and another parameter controlling the minimal cluster size. Extensive experiments are conducted to give a comprehensive evaluation of the clustering performance on synthetic and real-world datasets, with various cluster shapes and low to high feature dimensionality. Our experiments demonstrate that CLASSIX competes with state-of-the-art clustering algorithms. The algorithm has linear space complexity and achieves near linear time complexity on a wide range of problems. Its inherent simplicity allows for the generation of intuitive explanations of the computed clusters.

View on arXivView PDF

Code Implementations(1)

nla-group/classixOfficial100%
MIT

Fast and explainable clustering in Python

13113Python, CythonSep 11, 20211 months agoMIT
algorithmclassificationclusteringcythondata-analysis+5 more

Similar Papers

Cite this paper

@article{chen2022fast,
  title  = {Fast and explainable clustering based on sorting},
  author = {Xinye Chen and Stefan Güttel},
  year   = {2022},
  eprint = {2202.01456},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.01456}
}

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

Discussion