arXiv · 2611.01207
A Batched Hartigan's $k$-Means Clustering
Abstract
Hartigan's $k$-means algorithm has theoretical advantages over the standard Lloyd's variant, which has become synonymous with "$k$-means". Yet, Hartigan's algorithm is far slower in practice due to its inherently sequential calculations. We devise a Batched Hartigan's method that enables vectorized calculation by exploiting the triangle inequality to expose a set of parallel-safe updates and a smaller set of sequential updates. This makes Hartigan's method competitive with Lloyd's in execution speed for the first time.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Edward Raff, Michael Slawinski. 2026-10-31. A Batched Hartigan's $k$-Means Clustering. https://arxiv.org/abs/2611.01207
Cite the original work for its findings. Save a collection to share your selection of sources.