登录
首页 » matlab » MyKmeans

MyKmeans

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

  • LMSand-RLS
    这是通信中常用到的数字滤波器算法的matlab的例子,下载的话,自己要修改。(This is commonly used in communications to the digital filter algorithm matlab example, download the case, they have to change.)
    2011-05-06 14:38:50下载
    积分:1
  • Numerical-Methods--
    关于地震处理方面的matlab教材,希望对大家有所帮助(Numerical Methods of Exploration Seismology with algorithms in MATLAB)
    2011-05-07 15:07:12下载
    积分:1
  • tftb2002
    matlab程序,高阶谱分析,信号谱分析的方法一起就存在了,高价谱分析是当代信号处理的主要工具。(Matlab procedures, higher order spectral analysis, signal spectral analysis method in existence, high spectral analysis of contemporary signal processing major tools.)
    2007-03-13 10:14:25下载
    积分:1
  • saite
    各种优化程序的汇总1主要为一些惩罚函数法的优化程序!(various optimization procedures summary of a major punitive function of the optimization program!)
    2007-06-19 20:08:16下载
    积分:1
  • ton_reservation
    Matlab code of Tone Reservation Via Clipping.
    2010-08-18 22:23:46下载
    积分:1
  • 序是关于自适应滤波器的均衡实验代码-Chap_5_EQ
    本程序是关于自适应滤波器的均衡实验代码, 其中较为详细的比较了扩散系数对误差的影响(this program is adaptive filter on the balanced experimental code, which is more detailed comparison of the diffusion coefficient of error of)
    2005-04-09 13:19:51下载
    积分:1
  • OFDM
    It is a matlab simulation code about OFDM
    2012-02-06 21:17:55下载
    积分:1
  • HHT_Matlab_Functions
    PPT,关于matlab实现著名的希尔伯特黄变换算法,介绍了HHT算法的基础知识(HHT basic information in matlab)
    2012-03-29 23:31:33下载
    积分:1
  • espectronIris.m
    A matlab app for spectral clustering
    2011-05-21 05:36:20下载
    积分:1
  • kmean
    利用k-means的算法实现图像区域分割,主程序只能运行灰度图像,彩色图像需另写调用程序(Using the k-means algorithm for image segmentation, the main program will only run grayscale image, color image subject to write the calling program)
    2013-11-04 20:02:42下载
    积分:1
  • 696518资源总数
  • 105327会员总数
  • 16今日下载