登录
首页 » matlab » MyKmeans

MyKmeans

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

  • FastICA_2.5.tar
    快速ica算法,对于独立分离分析研究应用的一种有效算法。(ICA matlab code)
    2009-03-11 13:48:41下载
    积分:1
  • colorspace_conversion
    Color Space Conversion (RGB 2 YCbCr)
    2010-11-04 12:52:57下载
    积分:1
  • image-registration
    说明:  利用matlab进行图像配准,医学图像配准是目前图形处理中的重要问题(image registration by matlab,which is a key problem in the image prcessing field)
    2011-03-25 14:16:01下载
    积分:1
  • cbir
    content based image retrival using piramidal structure wave let tera
    2013-01-27 16:40:28下载
    积分:1
  • cs
    压缩感知,稀疏基为小波基,omp,典型的压缩感知代码(failed to translate)
    2013-05-06 21:33:02下载
    积分:1
  • DTMF
    DTMF报告和代码,基于simulink仿真,通过GUI调用m代码和simulink,可加噪音。(DTMF reports and code, based on simulink simulation, call m code and simulink through GUI, can add noise.)
    2014-01-08 14:37:15下载
    积分:1
  • Taflove_Codes
    codes for Taflove s FDTD book.
    2009-11-27 01:49:48下载
    积分:1
  • snake
    这是用Matlab编写的贪食蛇游戏,非常好玩,大家可以由此体验Matlab编程的乐趣。(This is prepared in Matlab with snake games, very fun, one can all experience the fun of Matlab programming.)
    2009-05-24 13:15:07下载
    积分:1
  • MATLAB
    matlab小波工具箱,详细介绍了各种函数的使用方法(matlab wavelet tool kit.detail description of the wavelet using method.)
    2014-09-03 15:35:24下载
    积分:1
  • matlab-mtsp-problem
    说明:  这是一篇关于多旅行商问题的学术论文,非常有新意,非常有利于我们深入了解mtsp问题的本质(This is a multi-traveling salesman problem on the papers, very fresh, very beneficial to our in-depth understanding of the nature of the problem mtsp)
    2009-08-12 15:37:43下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载