登录
首页 » matlab » MyKmeans

MyKmeans

于 2005-07-26 发布 文件大小:1KB
0 286
下载积分: 1 下载次数: 722

代码说明:

  实现聚类K均值算法: K均值算法:给定类的个数K,将n个对象分到K个类中去,使得类内对象之间的相似性最大,而类之间的相似性最小。 缺点:产生类的大小相差不会很大,对于脏数据很敏感。 改进的算法:k—medoids 方法。这儿选取一个对象叫做mediod来代替上面的中心 的作用,这样的一个medoid就标识了这个类。步骤: 1,任意选取K个对象作为medoids(O1,O2,…Oi…Ok)。 以下是循环的: 2,将余下的对象分到各个类中去(根据与medoid最相近的原则); 3,对于每个类(Oi)中,顺序选取一个Or,计算用Or代替Oi后的消耗—E(Or)。选择E最小的那个Or来代替Oi。这样K个medoids就改变了,下面就再转到2。 4,这样循环直到K个medoids固定下来。 这种算法对于脏数据和异常数据不敏感,但计算量显然要比K均值要大,一般只适合小数据量。(achieving K-mean clustering algorithms : K-means algorithm : given the number of Class K, n will be assigned to target K to 000 category, making target category of the similarity between the largest category of the similarity between the smallest. Disadvantages : class size have no great difference for dirty data is very sensitive. Improved algorithms : k-medoids methods. Here a selection of objects called mediod to replace the center of the above, the logo on a medoid this category. Steps : 1, arbitrary selection of objects as K medoids (O1, O2, Ok ... ... Oi). Following is a cycle : 2, the remaining targets assigned to each category (in accordance with the closest medoid principle); 3, for each category (Oi), the order of selection of a Or, calculated Oi Or replace the consumption-E (Or))

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

发表评论

0 个回复

  • LVHZ
    心电数据的滤波代码,已经调试通过,可以滤出工频干扰,基线飘移。谢谢合作(ECG data filtering code debugging has been passed, and labor-frequency interference filters, baseline drift. Thank you for your cooperation)
    2007-01-23 14:50:02下载
    积分:1
  • fresnel
    基于菲涅尔域的双随机相位编码图像加密方案,利用角谱传播法实现(Based on double random phase encoding Fresnel domain image encryption scheme to achieve the use of angular spectrum propagation method)
    2020-12-08 17:49:20下载
    积分:1
  • test
    iterative learning control simulink
    2013-11-05 18:52:20下载
    积分:1
  • LTE-Synchronous-Signal
    LTE中主(辅)同步信号生成,包括PSS和SSS,生成信号位于频域(PSS symbol generation in LTE)
    2020-07-04 10:00:01下载
    积分:1
  • criminisi
    criminisi算法在matlab实现图像修复的代码,包括图像,源代码(the criminisi algorithm in Matlab code of image restoration, including images, source code)
    2020-10-14 09:47:31下载
    积分:1
  • xiaoboquzao
    基于matlab运用小波变换的方法实现对程序中引入的红外图像的去噪处理(Wavelet transform method is used to denoise processing based on matlab for the infrared image that is introduced in the program. )
    2021-05-15 12:30:02下载
    积分:1
  • bistablePsyetem
    随机共振运用于弱信号检测,同时对于其中的频谱能够很好的分析。(Weak signal detection applied to stochastic resonance, while for the spectrum which can be a good analysis.)
    2013-10-26 09:44:24下载
    积分:1
  • exp
    MATLAB codes for BPSK, QPSK, Differential BPSK, Pulse shaping and link budget calculation are uploaded
    2014-01-23 18:11:39下载
    积分:1
  • 新建文件夹
    说明:  首先,在非视距环境中,信号传播将产生多径效应,这将导致对到达时间的错误估计。其次PSO(Firstly, in NLOS environment, signal propagation will produce multipath effect, which will lead to wrong estimation of arrival time. Second, PSO)
    2021-01-15 21:22:40下载
    积分:1
  • Simple-Function-Approximation
    Function approximation
    2013-12-17 19:15:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载