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

快速k均值聚类

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

代码说明:

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

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

发表评论

0 个回复

  • LaplacianPyramid
    说明:  图像的Laplace金字塔分解与重构算法。(Laplacian pyramid decomposition and reconstruction of image. )
    2009-09-01 10:35:08下载
    积分:1
  • ellipse
    此代码是用来绘制椭圆的,能够在matlab的编程环境下实现椭圆的绘制(This code is used to draw the ellipse, and able to achieve matlab programming environment to draw the ellipse)
    2011-05-21 09:22:06下载
    积分:1
  • interference-alignment
    干扰对齐中,两种经典的分布式算法(Max_SINR与Min_MLI)对比matlab代码(Interference alignment, the two classical distributed algorithm (Max_SINR and Min_MLI) contrast matlab code)
    2014-10-14 19:35:48下载
    积分:1
  • Avg_Pitch
    average pitch calculation
    2012-01-27 14:40:58下载
    积分:1
  • 外磁场50时力与磁导率(源码)
    基于J-A理论的力与磁导率关系曲线绘制(Drawing of force-permeability curve based on J-A theory)
    2018-12-04 21:24:52下载
    积分:1
  • test01-rest
    DSP project matlab code
    2011-10-02 20:21:50下载
    积分:1
  • mmplay
    matlab中,读取视频后,播放视频。导入toolbox文件夹,并set path。(show video)
    2013-05-23 16:41:37下载
    积分:1
  • windmodel
    在风力发电的模拟控制系统中,风速的模拟是一个重要的环节,而正确的风速模型不仅能够很好的 反应实际风速变化情况,而且能够给风力发电系统研究提供正确的源参数。本文用 Matlab/Simulink建立了风速组合数学模型,该模型将风速分为基本风速、阵风、渐变风速和组合风速4部分,仿真结果表明该模型能够理想的反应实际风速。(In the simulation control system of wind power generation, wind speed simulation is an important link, and the correct wind speed model can not only reflect the actual wind speed changes, but also provide the correct source parameters for wind power system research. In this paper, a combined mathematical model of wind speed is established by using MATLAB / Simulink. The model divides the wind speed into four parts: basic wind speed, gust wind, gradual wind speed and combined wind speed. The simulation results show that the model can reflect the actual wind speed perfectly.)
    2018-08-18 10:57:03下载
    积分:1
  • 2d-FDTD
    二维FDTD程序,以方柱为例仿真其散射的波形(Two-dimensional FDTD procedures for square cylinder as an example simulation of the scattering wave)
    2008-05-12 22:20:05下载
    积分:1
  • pai
    用蒙特卡洛方法计算圆周率的程序,可以精确到第四位小数(a mento karlo method compiled in matlab)
    2011-12-16 19:26:42下载
    积分:1
  • 696516资源总数
  • 106741会员总数
  • 17今日下载