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

快速k均值聚类

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

代码说明:

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

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

发表评论

0 个回复

  • hgfx1
    求两个数组的和差积商,其主要功能就是计算两个数组的和差积商(Find difference between two arrays and product providers)
    2011-09-07 17:10:54下载
    积分:1
  • algorithmictradingstrategy
    算法交易案例,包含止盈止损等,代码比较简单。(Algorithmic trading case)
    2014-09-02 08:15:35下载
    积分:1
  • ch9
    精通MATLAB参考源码第九章,喜欢MATLAB和神经网络的可以好好学习下,绝对的好资源!(Chapter IX proficient MATLAB reference source, like MATLAB and neural networks can learn, the absolute good resource!)
    2011-12-04 21:18:30下载
    积分:1
  • simulation
    循环理论相关MATLAB程序:滚动轴承仿真信号的产生(加噪声干扰)(Cyclostationary related)
    2011-12-12 13:45:34下载
    积分:1
  • ipeak5
    The additional argument (PeakD) is roughly the ratio of the typical peak width to the length of the entire data record. Small values detect fewer peaks larger values detect more peaks. It effects only the starting values for the peak detection parameters. (This is just a quick way to set reasonable initial values of the peak detection parameters, rather than specifying each one individually as in example 5.
    2013-05-07 17:01:07下载
    积分:1
  • denoise
    image denoising system
    2015-03-19 23:37:44下载
    积分:1
  • VisualCMatlabmix
    Visual+C++与Matlab混合编程的研究与实现(Visual+ C++ and Matlab Research and Implementation of Hybrid Programming)
    2009-10-10 12:47:47下载
    积分:1
  • mywork
    MATLAB 声波的低通录波源代码 waterrun.wav 试验声音文件(MATLAB recorded acoustic low-pass wave source code waterrun.wav test sound file)
    2010-12-08 17:34:40下载
    积分:1
  • ASoftwareDefinedGPSandGalileoReceiver
    Kai Borre等著、 杨东凯,张飞舟,张波 译。英文版及相应的PPT学习文件和代码.(A Software-Defined GPS and Galileo Receiver (丹麦)Kai Borre Nicolaj Bertelsen Peter Rinder Soren Holdt Jensen (美)Dennis M. Akos )
    2011-01-04 14:02:59下载
    积分:1
  • code
    matlab code for wimax phydical layer blocks
    2011-03-21 22:38:27下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载