大工至善|大学至真分享 http://blog.sciencenet.cn/u/lcj2212916

博文

[转载]【源码】动态的k均值聚类算法仿真

已有 1546 次阅读 2019-6-16 19:18 |系统分类:科研笔记|文章来源:转载

该算法的目的是将n个点(样本或观测值)聚类为k组,其中每个点都以最近的平均值进行聚类。

The aim of the algorithm is to cluster n points (samples or observations) into k groups in which each point belongs to the cluster with the nearest mean. 


这个过程一直持续到聚类的簇中没有数据变化或者算法已经达到迭代的极限为止。

This process continues until there is no change in the clusters or the algorithm has reached the limit of iteration. 


该算法有3个感兴趣的量:点数、k(簇数)和迭代次数

The algorithm has 3 values of interest: the number of points, k (number of clusters) and the number of iterations. 


本代码可以让您在每次迭代时观察到集群中数据点的移动。

The code was designed in a way you can watch the movement of the cluster at each iteration. 


有任何问题可以与作者联系,作者邮箱:orramirezba@ittepic.edu.mx

If you are facing any trouble you can contact me by email. 

my email is: orramirezba@ittepic.edu.mx


完整源码下载地址:

http://page3.dfpan.com/fs/7lc3j2321629d1675d7/ 


更多精彩文章请关注微信号:qrcode_for_gh_60b944f6c215_258.jpg




https://blog.sciencenet.cn/blog-69686-1185318.html

上一篇:[转载]【源码】采用PI反馈控制的DC-DC降压变换器仿真
下一篇:[转载]【图片新闻】美国海军成功实现历史上水下最深18500英尺的残骸回收
收藏 IP: 60.169.68.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...
扫一扫,分享此博文

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-26 21:33

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部