All Papers
0 / 0 papers shown
Title |
|---|
Title |
|---|

We propose "breathing -means", a novel approximation algorithm for the -means problem. After seeding the centroid set with the well-known -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 -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 -means problems including all those used in the original -means++ publication. The Python implementation of the new algorithm consists of 78 lines of code.
View on arXiv