K-means algorithm variation with equal cluster size

前端 未结 16 924
挽巷
挽巷 2020-11-27 14:26

I\'m looking for the fastest algorithm for grouping points on a map into equally sized groups, by distance. The k-means clustering algorithm looks straightforward and promis

16条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-27 14:54

    The ELKI data mining framework has a tutorial on equal-size k-means.

    This is not a particulary good algorithm, but it's an easy enough k-means variation to write a tutorial for and teach people how to implement their own clustering algorithm variation; and apparently some people really need their clusters to have the same size, although the SSQ quality will be worse than with regular k-means.

    In ELKI 0.7.5, you can select this algorithm as tutorial.clustering.SameSizeKMeansAlgorithm.

提交回复
热议问题