Accelerating k-Means Clustering with Cover Trees

Andreas Lang, Erich Schubert
10/19/2024
cs.LGstat.ML

No confident code implementation found for this paper.

Abstract

The k-means clustering algorithm is a popular algorithm that partitions data into k clusters. There are many improvements to accelerate the standard algorithm. Most current research employs upper and lower bounds on point-to-cluster distances and the triangle inequality to reduce the number of distance computations, with only arrays as underlying data structures. These approaches cannot exploit that nearby points are likely assigned to the same cluster. We propose a new k-means algorithm based on the cover tree index, that has relatively low overhead and performs well, for a wider parameter range, than previous approaches based on the k-d tree. By combining this with upper and lower bounds, as in state-of-the-art approaches, we obtain a hybrid algorithm that combines the benefits of tree aggregation and bounds-based filtering.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lang2024accelerating,
  title  = {Accelerating k-Means Clustering with Cover Trees},
  author = {Andreas Lang and Erich Schubert},
  year   = {2024},
  eprint = {2410.15117},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.15117v1}
}

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

Discussion