登录
首页 » matlab » MyKmeans

MyKmeans

于 2005-07-26 发布 文件大小:1KB
0 272
下载积分: 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 个回复

  • 2005-48[1]
    This pdf file is about gabor deconvolution.
    2009-11-07 15:25:42下载
    积分:1
  • QAM_16
    说明:  16QAM载波同步的影响仿真,针对有频偏,有相偏,无频偏相偏情况下的星座图。(16QAM carrier synchronization of simulation, for a frequency offset, a phase offset, phase offset without offset under the constellation.)
    2010-03-31 16:01:40下载
    积分:1
  • MIMO-final-WTF
    Calculating SNR and BER to System MIMO using SVD and receiver shaping.
    2013-07-28 06:24:12下载
    积分:1
  • HHTthree-Matlab
    三种HHT的经典程序,包括示例演示,其中包括各个IMF(基本模式分量)的分解演示过程(Three kinds of HHT classic program, including sample presentations, including the various IMF (intrinsic mode) during the presentation of the decomposition)
    2013-06-07 15:42:09下载
    积分:1
  • ssprop-3.0.1
    非线性光纤光学(第四版)的源代码,美国人写的(Nonlinear Fiber Optics (Fourth Edition) of the source code, written by the Americans)
    2009-12-14 21:23:38下载
    积分:1
  • esprit-algorithm-of-ULA
    均匀线阵的esprit 算法代码,适用与初学者对esprit算法进行了解,有很大帮助(esprit algorithm of ULA)
    2012-11-29 12:28:03下载
    积分:1
  • Vibration-Project2
    振动理论中运用单自由度系统的实际例子来列出微分方程并使用ode45进行计算解答(Vibration theory using practical examples to list a single degree of freedom system differential equations and calculations using ode45 answer)
    2015-04-21 22:12:12下载
    积分:1
  • matlab
    插值FFT估计正弦波频率算法及其matlab实现(Interpolation FFT algorithm and its estimated frequency sine wave matlab achieve)
    2020-06-29 13:40:02下载
    积分:1
  • band-passfilter
    用MATLAB实现绘制带通滤波器的损耗函数曲线(Using MATLAB drawing of the loss of band-pass filter function curve)
    2010-11-21 10:45:35下载
    积分:1
  • CMOBPSO
    OPSOCM: Opposition based PSO with Cauchy Mutation.
    2010-01-15 14:40:52下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载