登录
首页 » Matlab » 快速k均值聚类

快速k均值聚类

于 2022-02-15 发布 文件大小:3.94 kB
0 91
下载积分: 2 下载次数: 3

代码说明:

[L, C, D] = FKMEANS(X, k),使用k均值算法将矢量矩阵x分割成k聚类。行x对应点,列对应变量。输出k×p矩阵包含聚类中心。K-means算法是很典型的基于距离的聚类算法,采用距离作为相似性的评价指标,即认为两个对象的距离越近,其相似度就越大。该算法认为簇是由距离靠近的对象组成的,因此把得到紧凑且独立的簇作为最终目标。k个初始类聚类中心点的选取对聚类结果具有较大的影响,因为在该算法第一步中是随机的选取任意k个对象作为初始聚类的中心,初始地代表一个簇。该算法在每次迭代中对数据集中剩余的每个对象,根据其与各个簇中心的距离将每个对象重新赋给最近的簇。当考察完所有数据对象后,一次迭代运算完成,新的聚类中心被计算出来。如果在一次迭代前后,J的值没有发生变化,说明算法已经收敛。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • ai_immune
    用Matlab做的免疫算法,希望对你有帮助,互相学习(Immune algorithm using Matlab to do, want to help you learn from each other)
    2010-08-15 10:23:42下载
    积分:1
  • 2
    说明:  基于MATLAB的串口调试程序,可以帮助使用者很好的掌握串口的使用方法(Based on MATLAB serial debugger, you can help the user a good grasp of the serial port to use)
    2012-05-12 11:57:43下载
    积分:1
  • hht2002
    希尔伯特-黄变换的代码,适用于分析非平稳信号(Hilbert-Huang Transform code applicable to the analysis of non-stationary signals)
    2007-04-24 14:24:07下载
    积分:1
  • MMVDAyuMVDRboshuxingchengbijiao
    MVDR与改进的MVDR方法数字波束形成比较(the comparisom of the method of MVDR and its improved method MMVDR to realeze beamforming)
    2020-11-20 16:49:37下载
    积分:1
  • cspdk
    微软出的CSPDK,可以在2000 sp2及其以下版本使用(Microsoft out CSPDK, in 2000 sp2 and the following version of the use of)
    2007-09-12 13:42:16下载
    积分:1
  • QAM
    对QAM的频谱、散图、眼图以及误码率进行了仿真。使用matlab语言。(QAM spectrum of scattered diagram, eye diagram and BER simulation. Using matlab language.)
    2007-12-20 11:28:18下载
    积分:1
  • svm
    SVM进行分类的实验的源代码,还有进行回归(SVM)
    2010-08-23 15:01:25下载
    积分:1
  • Spatial-Econometrics-MATLAB
    本软件包是将New Elhorst Panel Code中的函数整合在一个文件件下,还有本人做的例子,可以参考。(This software package is the function New Elhorst Panel Code integration in a file, and I do the example, can refer to.)
    2014-09-03 21:51:15下载
    积分:1
  • 220kv
    该SIMULINK模型为模拟高压分相开关、分相故障、高压线路等值模型。同时仿真了发生短路时,可以模拟短路电流(The SIMULINK model to simulate high pressure phase switch, phase failure, high voltage line equivalent model. At the same time simulation of a short circuit, short-circuit current can be simulated)
    2015-10-26 12:08:38下载
    积分:1
  • matlab
    pn结模拟:一维PN结的模拟 ,有限元法 结合耦合法,新手求交流(Pn junction simulation: one-dimensional pn junction simulation, finite element method combined with coupling method, novice for communication)
    2021-01-04 14:28:55下载
    积分:1
  • 696518资源总数
  • 105964会员总数
  • 17今日下载