kmean

作者: bill_yang | 来源:发表于2017-12-12 18:37 被阅读0次

kmean是传统机器学习十大算法之一,比较成熟。

kmean过程:

repeat every sample in all dataset:

    compute euclidean distance between <sampe[i], per-center>

    记录当前sample[i]距离中心最近的下标与距离

    检查中心是否更新了,如果有更新,就进行中心点更新;

until:在计算过程中,所有中心点都没有更新为止

refs:

http://blog.csdn.net/zouxy09/article/details/17589329

http://blog.csdn.net/gamer_gyt/article/details/51244850

http://blog.csdn.net/gamer_gyt/article/details/48948239

http://lib.csdn.net/article/python/44491

http://www.cnblogs.com/taceywong/p/4568806.html

code:

https://github.com/DemonYangWin/machine-learning.git

相关文章

网友评论

      本文标题:kmean

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