登录
首页 » matlab » MyKmeans

MyKmeans

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

  • speech
    This is amatlab coding, implement the speech privacy using frequency domain method. it also includes the detection of end of speech algorithm to reduce the bandwidth consumed
    2010-12-14 20:30:08下载
    积分:1
  • Learn-Matlab-7.0
    本教程提供了使用MATLAB的实践性指导,它基于MATLAB6.0版,内容由浅入深,特别是本书对每一条命令的使用格式都作了详细而又简单明了的全英文说明(This tutorial provides a practical guide to using MATLAB, which is based MATLAB6.0 version of the content digest, especially for the book using the format of each command are detailed yet simple and clear instructions in English)
    2013-08-11 00:38:05下载
    积分:1
  • 100casesoftheprocedureinmatlab
    包含matlab中上百例程序,其中有简单函数程序,图像处理程序等(100 cases of middle and upper contains matlab procedures, including procedures for simple functions, image processing procedures)
    2009-05-26 19:00:30下载
    积分:1
  • newbasiccooperative
    协同通信以及感知无线电方面的仿真,MATLAB环境(Collaborative aspects of cognitive radio communications, as well as simulation, MATLAB environment)
    2008-06-09 15:34:20下载
    积分:1
  • firdesign
    finite impulse response (FIR) filter is a filter whose impulse response (or response to any finite length input) is of finite duration, because it settles to zero in finite time. This is in contrast to infinite impulse response (IIR) filters, which have internal feedback and may continue to respond indefinitely (usually decaying).
    2012-04-12 20:47:26下载
    积分:1
  • experiment
    matlab编写的程序,分别实现了一维线性调频信号,二维线性调频信号,脉冲压缩,过采样率对频谱的影响,加窗 的仿真(the matlab programs written, respectively, to achieve the one-dimensional linear FM signal, two-dimensional linear FM signal pulse compression the oversampling ratio spectrum windowed simulation)
    2012-12-09 14:21:54下载
    积分:1
  • chengxu
    我这儿有一组若干年份的数据,是按一定时间顺序排的,想用曲线拟合法得到2010年的人均国内生产总值,不知怎么用matlab,高手赐教!!!!!!可加分 年份 人均国内生产总值(元) 1996 27000 1997 30619 1998 33282 1999 33689 2000 41020 2001 43344 2002 46030 2003 53887 2004 59271 2005 64507 2006 70597 07.1季 20505 07.2季 19619 07.3季 19874 07.4季 19223 08.1季 19703(I have a group here, a number of years of data are ranked by order of a certain period of time, and want to use curve fitting to be in 2010 the per capita gross domestic product, I do not know how to use matlab, you let us know! ! ! ! ! ! Add points to the year the per capita GDP (Yuan) 1996 27000 1997 30619 1998 33282 1999 33689 2000 41020 2001 43344 2002 46030 2003 53887 2004 59271 2005 64507 2006 70597 07.1 quarter 19,619 07.3 quarter 20,505 07.2 quarter 19,223 08.1 quarter 19,874 07.4 quarter 19,703)
    2009-04-03 20:18:40下载
    积分:1
  • Liru_1_DynamicAlignment_Coarse
    我们卫星定位导航课中导航中双历元GNSS辅助SINS动态初始对准方法的m文件,只要有测量数据应该就可以实现,大家可以参考一下(Our lesson navigation satellite positioning and navigation double epoch dynamic GNSS assistance SINS initial alignment method m file, as long as the measurement data should be able to achieve, we can refer to)
    2014-12-25 10:09:50下载
    积分:1
  • 多智能体一致性 matlab 仿真
    说明:  多智能体一致性代码仿真,用matlab写的,可以参考一下(Multi-smart consistent code simulation,)
    2021-03-18 17:49:20下载
    积分:1
  • Unit_Commitment
    this is simple unit commitment
    2015-01-01 21:14:05下载
    积分:1
  • 696519资源总数
  • 104213会员总数
  • 20今日下载