209

Breathing KK-Means

Abstract

We propose "breathing kk-means", a novel approximation algorithm for the kk-means problem. After seeding the centroid set with the well-known kk-means++ algorithm, the new method cyclically increases and decreases the number of centroids in order to find an improved solution for the given problem. The kk-means++ solutions used for seeding are typically improved significantly while the extra computational cost is moderate. The effectiveness of our method is demonstrated on a variety of kk-means problems including all those used in the original kk-means++ publication. The Python implementation of the new algorithm consists of 78 lines of code.

View on arXiv
Comments on this paper