登录
首页 » Matlab » kmeans函数

kmeans函数

于 2023-02-25 发布 文件大小:6.31 kB
0 86
下载积分: 2 下载次数: 1

代码说明:

k-means 算法接受参数 k ;然后将事先输入的n个数据对象划分为 k个聚类以便使得所获得的聚类满足:同一聚类中的对象相似度较高;而不同聚类中的对象相似度较小。聚类相似度是利用各聚类中对象的均值所获得一个“中心对象”(引力中心)来进行计算的。 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报

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

发表评论

0 个回复

  • correctionforlasercuting
    实际光学元件的畸变波前建立了畸变波前模型,畸变进行了仿真研究,给出了二维平面的matlab源代码(The actual wavefront distortion of optical components to establish a distorted wave-front model, a simulation study of distortion are given two-dimensional plane, the source code matlab)
    2009-12-08 09:02:15下载
    积分:1
  • caponbeamforming
    鲁棒波束形成和加权系数波束形成(10元线性阵列)(Robust beamforming and beamforming weighting coefficients (10 linear array))
    2010-12-23 10:35:07下载
    积分:1
  • qianweishi
    给出一个具体逆变器钳位式的仿真实例,通过仿真 ,可以得出实际运行中的电压、电流的波形 (Clamped inverter is given a specific type of simulation examples, the simulation can be drawn from the actual operation of the voltage and current waveforms)
    2011-07-14 17:47:11下载
    积分:1
  • harrisgai
    基于harris 的图像角点提取,并做改进,限制小区域内最多特征点数量(feature extraction by harris)
    2013-03-07 21:00:01下载
    积分:1
  • AWGN_Channel_BCH_4DPSK
    BCH coded m-DPSK BER with AWGN
    2014-10-20 17:03:32下载
    积分:1
  • FCM
    FCM clustering Algorithm
    2014-11-25 19:56:37下载
    积分:1
  • Razrabotka_CGI_prilogenii_na_Perl
    Developing applications on the CGI-Perl Kevin Meltzer Brent Michalski of the Russian language
    2013-11-04 20:22:55下载
    积分:1
  • 1
    matlab使用垂直Sobel算子,自动选择阈值 [VSFAT Threshold]=edge(f, sobel , vertical ) 边缘探测 figure,imshow(f),title( 原始图像 ), 显示原始图像 figure,imshow(VSFAT),title( 垂直图像边缘检测 ) 显示边缘探测图像 使用水平和垂直Sobel算子,自动选择阈值 SFST=edge(f, sobel ,2) figure,imshow(SFST),title( 水平和垂直图像边缘检测 ) 显示边缘探测图像 使用指定45度角 Sobel算子滤波器,指定阈值 s45=[-2 -1 0 -1 0 1 0 1 2] SFST45=imfilter(f,s45, replicate ) SFST45=SFST45>=2 figure,imshow(SFST45),title( 45度角图像边缘检测 ) 显示边缘探测图像 (matlab I=rgb2gray(I0) J0=double(I) [VSFAT Threshold]=edge(f, sobel , vertical ) figure,imshow(f),title figure,imshow(VSFAT),title)
    2013-12-18 15:42:14下载
    积分:1
  • PSOTrainBP
    BP神经网络容易陷于局部极小值,PSO算法在无约束非线性函数优化方面性能优越,通常可以直接找寻到全局最优解,即使不能搜多到全局最优解,也距离全局最优点不远。当然,基本PSO算法陷入局部极值也是有的。对于这个缺点目前还没有找到比较有效、省市的解决方案。本案例实现利用PSO算法和BP算法共同训练神经网络,先将网络进行PSO算法训练,然后BP算法接着进行小范围精细搜索,PSO算法训练神经网络的本质就是将输出误差函数(即能量函数)看成目标函数,PSO对能量函数进行全局寻找最小值。(BP neural networks are prone to local minimum values. The PS algorithm has superior performance in the optimization of unconstrained nonlinear functions. It can usually find the global optimal solution directly. Even if it can not find more global optimal solutions, it is not far from the global best. Of course, there is also a local extreme of the basic PO algorithm. For this shortcoming, there is no more effective, provincial and municipal solution. This case realizes the use of the SO algorithm and the BP algorithm to train the neural network. First, the network is trained in the SO algorithm, and then the BP algorithm is followed by a small range of fine searches. The essence of the PO algorithm training neural network is to regard the output error function(ie, the energy function) as the objective function, and the PO seeks a global minimum value for the energy function.)
    2018-08-06 11:04:45下载
    积分:1
  • matlab的几个文件算法能实现图像分割
    说明:  matlab的几个文件算法能实现图像分割,例如分水岭算法等,区域生长法等。(It can realize image segmentation, such as watershed algorithm and so on.)
    2020-06-21 18:00:02下载
    积分:1
  • 696516资源总数
  • 106783会员总数
  • 25今日下载