登录
首页 » matlab » MyKmeans

MyKmeans

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

  • ss
    说明:  有关语音的一篇文章 详细介绍了语音MATLAB实现 并有源程序(An article in the voice of the voice MATLAB implementation details and a source)
    2010-03-25 13:39:00下载
    积分:1
  • SS_demo1
    Spectrum Sensing Demonstration
    2011-10-27 07:46:29下载
    积分:1
  • mpc_3
    this ismatlab code for mpc example..
    2014-01-30 03:38:44下载
    积分:1
  • gen_2fsk
    生成fsk调制信号,虽然简单但是希望对大家有帮助(Fsk modulated signal generation, although simple, however we would like to help)
    2009-05-10 22:08:25下载
    积分:1
  • volterra
    simulation for wireless sensor networks
    2011-06-01 20:21:51下载
    积分:1
  • aa_thuattoan1_neighbor
    Peak detection algorithm in matlab for Heart rate measurment using camera of smart phone
    2013-10-07 20:07:33下载
    积分:1
  • Understanding-FVM-using-MATLAB
    TPFA stands for two point flux approximation and will calculate pressure change in 5-spot injector/producer pattern.
    2012-08-30 10:50:23下载
    积分:1
  • LSSVMlabv1_8_R2006a_R2009a
    多输入多输出最小二乘支持向量机,多输入多输出最小二乘支持向量回归机,(lssvm,Multi-output least-squares support vector regression machines)
    2017-04-05 16:21:08下载
    积分:1
  • Radar
    详细分析了调频步进信号在雷达中放入应用,还有其信号处理的过程。(Analysis and Processing of Modulated Frequency Stepped Radar Signa)
    2010-06-17 18:49:07下载
    积分:1
  • DcBUCK1
    说明:  BUCK类型的DCDC变换器,经过调试效果良好,欢迎下载(BUCK types of DCDC converters, through commissioning works well, welcome to download)
    2010-04-13 22:45:53下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载