首页 > 其他 > 详细

层次聚类与K-means

时间:2017-06-04 09:20:41      阅读:337      评论:0      收藏:0      [点我收藏+]
  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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!