登录
首页 » matlab » MyKmeans

MyKmeans

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

  • Sort
    插入排序:将未排序的数插入已排好序的数组中 合并排序:将排好序的数组合并到一起(insert order:make a non-order num be inserted into an ordered array merge order:)
    2010-10-07 14:27:58下载
    积分:1
  • PCA
    说明:  人脸识别的源程序,基于matlab编程,主要采用PCA算法。(face recognition system based on PCA )
    2010-04-01 10:51:21下载
    积分:1
  • RSana
    说明:  用于计算HURST指数的分形维数的MATLAB小程序,属于经典的。(HURST index used to calculate the fractal dimension of the MATLAB small procedures, are classic.)
    2008-10-24 23:48:37下载
    积分:1
  • Vis
    Supermarket cashier system .doc(Supermarket cashier system )
    2014-01-08 22:59:33下载
    积分:1
  • fdm
    it is an ofdm simulation in simulink 2009b
    2010-06-24 20:14:19下载
    积分:1
  • gmm_utilities
    Gaussian Mixture Utilities
    2006-12-08 00:58:54下载
    积分:1
  • cencifenxi
    层次分析法matlab源程序,用于判断矩阵等(AHP matlab source for judging matrix)
    2008-12-27 03:41:06下载
    积分:1
  • C_LibrarieReferenceGuide.rar
    The C Library Reference Guide by Eric Huss © Copyright 1997 Eric Huss
    2010-12-18 03:47:31下载
    积分:1
  • one_hyperbolic2
    求解一维双曲方程。空间方向采用四阶差分格式,时间方向采用bvm法(Solving one-dimensional hyperbolic equation. Spatial orientation difference scheme with fourth order, the time direction by bvm method)
    2011-01-04 14:38:38下载
    积分:1
  • Llfault
    fault finding in power system analysis
    2014-09-10 22:39:34下载
    积分:1
  • 696518资源总数
  • 105964会员总数
  • 17今日下载