登录
首页 » matlab » MyKmeans

MyKmeans

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

  • ofdmchannelest4
    说明:  块状导频的OFDM信道估计ofdmchannelest4为2008年本科毕业设计(Pilot block of the OFDM channel estimation ofdmchannelest4 for the 2008 design graduate)
    2008-10-07 20:03:36下载
    积分:1
  • Second-order-switched-linear-system-
    二阶线性切换系统稳定切换律的设计与仿真的源程序 (Second-order switched linear system is stable and the design and simulation of switching law)
    2011-04-25 11:38:23下载
    积分:1
  • GA
    说明:  基于遗传算法的光学薄膜设计优化MATLABcode(optical thin films design based on GA algorithms )
    2014-12-07 21:31:43下载
    积分:1
  • voip
    OFDM.simulation.by.matlabNguon tiensitranxuannamhocvienkythuatquansu
    2010-12-30 12:05:38下载
    积分:1
  • MSS_models
    MSS vessel models PDF from Thor I. Fossen June 19, 2008
    2009-09-25 09:53:05下载
    积分:1
  • KALMAN1
    MATLAB中用m文件实现卡尔曼滤波算法(M file implementation using MATLAB Kalman filter algorithm)
    2009-02-26 11:33:49下载
    积分:1
  • interleaving
    This is a wireless communication codes based on adaptive interleaving
    2010-12-14 19:29:45下载
    积分:1
  • SignalsandSystemswithMATLAB
    说明:  介绍了如何使用matalab对信号系统进行仿真,对初学者很适用(This text contains a comprehensive discussion on continuous and discrete time signals and systems with many MATLAB&reg examples. It is written for junior and senior electrical engineering students, and for self-study by working professionals. The prerequisites are a basic course in differential and integral calculus, and basic electric circuit theory.)
    2009-08-31 17:15:40下载
    积分:1
  • pointCloud2rawMesh
    Same as pointCloud2mesh.m but this one only outputs a mesh. Normals and neighbors of vertices and triangles are NOT calculated to save time. This is sufficient if you want to make a ply or a vrml file of the mesh.
    2012-04-28 02:44:35下载
    积分:1
  • Machine-Learning-Implementations
    machine learning with matlab
    2014-11-07 18:00:17下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载