随机聚类算法 [英] Random Clustering Algorithm

查看:176
本文介绍了随机聚类算法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经设置点,我想簇了出来。我知道该怎么做普通K-means算法。但我不希望采取K'作为输入。假设,如果我有像点 1,3,4,50,60,70,1000,10002,10004算法应聚集成3群 C1:1,3,4 C2:50,60,70 C3:1000,1002,1004 群集内元件之间满意的距离应在最低限度,和簇间的距离应为最大

I have set of points, and i want clusters out of them. I know how to do normal k-means algorithm. But i don't want to take 'k' as input. Suppose if i have points like 1,3,4,50,60,70,1000,10002,10004 the algorithm should cluster them into 3 clusters C1: 1,3,4 C2: 50,60,70 C3: 1000,1002,1004 satisfying distance between intracluster elements should be minimum, and distance between intercluster should be maximum.

推荐答案

决定k是这重演了许多聚类算法的一个问题。你可能要考虑谱聚类(及其各种算法的表兄弟),它管理的一些缓解这一问题。然而,许多版本使用k均值作为最后一步,并返回到原点(但不是全部)。

Deciding on k is a problem which repeats itself with many clustering algorithms. You might want to consider spectral clustering (and its various algorithmic cousins) which manages to some alleviate that problem. However, many versions use k-means as the final step, returning you to square one (although not all).

替代地,有许多方法用于查找k的最优值,例如通过Denis上面提供的答案;这可能是足以让你的目的。

Alternatively, there are many approaches for finding the optimal value of k, such as the answer supplied by Denis above; this might be enough for your purposes.

这篇关于随机聚类算法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆