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

层次聚类与K-means

时间:2017-06-04 09:46:34      阅读:162      评论:0      收藏:0      [点我收藏+]

标签:blog   ast   oid   步骤   next   img   cal   eth   rar   

  1. Hierarchical clustering(层次聚类)

作用:Clustering organizes things that are close into groups

算法步骤:

a).Find closest two thing

b).Put them together

c).Find next closest

     算法结果:A tree showing how close things are to each other

        技术分享

http://gallery.r-enthusiasts.com/RGraphGallery.php?graph=79

 

  1. K-means

作用:Final estimate of cluster centroids

算法步骤:

a)Fix a number of clusters

b) Get “centroids” of each cluster

c)Assign things to closest centroid

d)Reclaculate centroids

     算法结果:按设定的cluster值分成相应和groups.

 技术分享

 

层次聚类与K-means

标签:blog   ast   oid   步骤   next   img   cal   eth   rar   

原文地址:http://www.cnblogs.com/colinqin/p/6939466.html

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