KNMCluster

版本 1.0.0.0 (2.3 KB) 作者: Timothy Felty
Calculates means and associated clusters from input data.
3.1K 次下载
更新时间 2008/1/1

查看许可证

Usage: [means,c]=KNMCluster(k,indata)

KNMCluster is an implementation of the K-means clustering algorithm. It takes inputs k and indata. k is the initial guess of the number of clusters.

indata is the aggregate data that you want to put into clusters.

The returned value "means" are the eturned means of the final clusters.

c is a structure with fields Clust1, Clust2, and so on for each of the k means.

Notes: This program makes use of Sara Silva's program shuffle found here on Mathworks. I would like to thank her for this nice little utility, it saved me some time which is always nice.

Tim Felty, fistandantilus1@hotmail.com

引用格式

Timothy Felty (2024). KNMCluster (https://www.mathworks.com/matlabcentral/fileexchange/6291-knmcluster), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2006a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
致谢

参考作品: shuffle_orderby

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0

Refactored the code to handle more dimensions, also allows for more than 6 dimensions now.