登录
首页 » matlab » MyKmeans

MyKmeans

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

  • hough-Matlab
    自动检测圆的Matlab源码,有图例示范有源代码演示(Matlab source code automatically detects the circle, there are legends demo model source code)
    2009-10-28 10:16:48下载
    积分:1
  • deltablue
    The DeltaBlue Algorithm: An Incremental Constraint Hierarchy Solver.
    2014-02-06 08:44:58下载
    积分:1
  • chap9
    《matlab应用大全》赵海滨编著,清华大学出版社,第九章主讲二维数据可视化(The application of matlab Zhao Haibin compiled, tsinghua university press, chapter 9 on two-dimensional data visualization)
    2013-10-31 09:42:03下载
    积分:1
  • 6713-LabExercisesFromCraneSoftware
    digital signal processing lab programs according to some universities
    2015-01-19 04:41:19下载
    积分:1
  • pso
    PSO,A GOOD SOURCE IN MATLAB FROM IEEE.
    2009-11-25 23:02:27下载
    积分:1
  • VC++中调用Matlab .m函数编译后的对应c函数
    说明:  vc与matlab混合编程的具体实例,通过vc编译器调用matlab编译的.m文件。(vc mixed with Matlab programming specific examples, vc call Matlab Compiler compiled. M documents.)
    2005-09-12 10:09:51下载
    积分:1
  • rbf
    rbf MATLAB CODE 神经网络 (rbf MATLAB )
    2014-11-11 21:25:20下载
    积分:1
  • TACAN_impulse_125ms
    路基导航系统塔康伏尔信号模拟代码,matlab实现,可以方便得设置各种参数(Roadbed navigation system TACAN VOR signal simulation codes, matlab realize, you can easily configure various parameters)
    2021-04-16 17:58:54下载
    积分:1
  • demo_BIHT
    对于BIHT算法的改进算法,效果较BIHT算法更好(For the improved algorithm of BIHT algorithm, the effect is better than that of BIHT algorithm.)
    2018-07-23 16:02:44下载
    积分:1
  • OFDMSimulinkyuxin
    利用matlab的simulink编写ofdm调制(Matlab prepared using the simulink OFDM modulation)
    2008-03-26 09:16:17下载
    积分:1
  • 696518资源总数
  • 106208会员总数
  • 21今日下载