登录
首页 » matlab » MyKmeans

MyKmeans

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

  • Cnv_encd
    determines the output sequence of a binary convolutional encoder
    2010-10-19 05:00:50下载
    积分:1
  • duichenzhenzi
    画出对称阵子的仿真图 用matlab实现()
    2008-04-09 09:07:19下载
    积分:1
  • advancewirelesscommunicationsyllabus
    wireless matlab prog like as bpsk ber.
    2011-08-26 03:05:24下载
    积分:1
  • wiseqs-o2pgz5
    无线信道HmSItr模型MATLAB仿真程序,实现了tsgPSiZ技术下多参数的模拟,最接近物理信道,信道逼近参数接近最小二乘HmSItr算法。 (Radio channelHmSItr model MATLAB simulation program, to achieve a multi-parameter simulation tsgPSiZ technology, the closest physical channel, the channel parameters close to the least square approximation algorithm HmSItr )
    2015-12-22 09:35:34下载
    积分:1
  • sigprops
    对输入信号峰均比以及信号邻道泄露ACPR的处理(peak digitalsignal handle)
    2015-03-14 18:17:59下载
    积分:1
  • XinAnJiang_Model_in_matlab
    新安江核心代码,采用 matlab语言编写。(Xin' anjiang core code, the use of matlab language.)
    2010-12-07 10:31:47下载
    积分:1
  • shuxueyubeizhishi02
    数字图像处理课件-matlab语言基础,很适合做图像如理入门使用,系列之1数学预备知识(Digital image processing based on matlab language courseware), such as introduction to use, very suitable for image series 1)
    2013-11-13 20:13:20下载
    积分:1
  • work
    HERMITE插值函数,试算,欢迎下载测试(HERMITE)
    2009-04-07 16:47:09下载
    积分:1
  • DSP-PROGRAMS
    数字信号处理 基于计算机的方法 第四版 配套程序(DSP based on computational methos)
    2013-11-27 17:32:37下载
    积分:1
  • attachments
    This file contains optimization codes
    2013-08-01 00:55:29下载
    积分:1
  • 696518资源总数
  • 104993会员总数
  • 17今日下载