美文网首页
选择聚类数(Choosing the number of cl

选择聚类数(Choosing the number of cl

作者: 天际神游 | 来源:发表于2017-10-03 22:23 被阅读0次

    通常靠人工输入或者我们的经验来决定。因为数据集中有多少个聚类,往往搞不清楚:

    肘部法则(Elbow Method):

    选择不同的K,然后观察代价函数J,然后找肘部在哪里,然后选择它;但是有时候这个肘部找不到,所以它不是万能的办法。

    根据实际情况来决定K的值是多少:

    相关文章

      网友评论

          本文标题:选择聚类数(Choosing the number of cl

          本文链接:https://www.haomeiwen.com/subject/cltqyxtx.html