登录
首页 » matlab » MyKmeans

MyKmeans

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

  • Induction-motor-drive-systems
    电力电子与MATLAB应用技术 网上辛苦找的 还是蛮有用的(MATLAB application of power electronics technology and the Internet' s still quite hard to find used)
    2011-04-29 10:07:24下载
    积分:1
  • rastaplp
    rastaplp m-file calculates RASTA-PLP coefficients, defaults to 1 if 0, just calculate PLP coefficients.
    2011-07-04 01:53:29下载
    积分:1
  • HVDC_SynSTAT_Final
    this is a simulation of HVDC system
    2012-08-29 11:36:26下载
    积分:1
  • multinewton
    利用牛顿法估计广义线性模型参数,涵盖logistic模型和possion模型。matlab代码(Matlab code for estimating the parameters of the generalized linear regression models, including logistic and poission)
    2014-11-26 20:05:03下载
    积分:1
  • CreateSig
    i hav uploaed the signal creating code
    2012-09-27 19:34:52下载
    积分:1
  • 4
    Solves steam reformer problem in matlab
    2013-10-24 22:19:28下载
    积分:1
  • Pca-extraction
    pca进行特征提取源码,用matlab语言编写,pca即主成分分析(pca source for feature extraction using Matlab language, pca that Principal Component Analysis)
    2020-12-23 15:19:07下载
    积分:1
  • 1
    说明:  俄 罗 斯 方 块 小 程 序(Tetris Applet)
    2009-12-22 11:30:52下载
    积分:1
  • Untitled
    WIRELESS CHANNEL DESCRIPTION ...PLEASE SEE ATTACHED
    2013-05-04 11:43:32下载
    积分:1
  • digital_filter_usingMATLAB
    利用MATLAB编程实现数字滤波器的功能(Digital filters using MATLAB programming functions)
    2010-05-10 10:55:02下载
    积分:1
  • 696518资源总数
  • 104349会员总数
  • 32今日下载