Affinity Propagation preferences initialization

后端 未结 3 2422
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-20 05:18

I need to perform clustering without knowing in advance the number of clusters. The number of cluster may be from 1 to 5, since I may find cases where all the samples belong to

3条回答
  •  误落风尘
    2021-02-20 05:42

    You can also merge clusters together by essentially running the algorithm a second time using the center samples or manually merging the most similar ones. So you could iteratively merge the closest clusters till you get your number, making the choice of preference easier since you can just choose anything that will result in a decent number of clusters (This worked decently well when I tried).

提交回复
热议问题