码迷,mamicode.com
首页 > 其他好文 > 详细

k means聚类过程

时间:2019-02-02 10:19:40      阅读:225      评论:0      收藏:0      [点我收藏+]

标签:random   sele   upd   ati   style   sel   initial   过程   font   

k-means是一种非监督 (从下图0 当中我们可以看到训练数据并没有标签标注类别)的聚类算法

 

 0.initial

技术图片

 

1.select centroids randomly   

 技术图片 

 

2.assign points

 技术图片

 3.update centroids

技术图片

 4.reassign points

技术图片

 5.update centroids

技术图片

 

 6.reassign points

技术图片

 

7.iteration

 

reference:

https://www.naftaliharris.com/blog/visualizing-k-means-clustering/

转载请注明来源:https://www.cnblogs.com/lnas01/p/10347650.html

k means聚类过程

标签:random   sele   upd   ati   style   sel   initial   过程   font   

原文地址:https://www.cnblogs.com/lnas01/p/10347650.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!