登录
首页 » matlab » MyKmeans

MyKmeans

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

  • snake
    Active Contours model(snake)
    2009-04-14 01:40:11下载
    积分:1
  • Fast_Fourier_Transform
    快速傅里叶变换 可以计算并且仿真出图片等,里面包括三角变换、逆变换等。(Fast Fourier Transform And simulation can be calculated, such as a picture, which includes the triangular transform, inverse transform and so on.)
    2009-05-20 12:39:05下载
    积分:1
  • control-loop-of-DC-to-DC-buck-converter
    control loop of DC to DC buck convertercontrol loop of DC to DC buck convertercontrol loop of DC to DC buck convertercontrol loop of DC to DC buck convertercontrol loop of DC to DC buck converter
    2013-10-25 03:23:21下载
    积分:1
  • bfstree
    It is used for Breadth First Search to search the edges in matlab
    2013-11-12 16:49:04下载
    积分:1
  • matlab_course-of-study
    MATLAB数学工具软件 实例简明教程(matlab program course of study)
    2013-12-04 11:06:32下载
    积分:1
  • shooting
    shooting 打靶法,MATLAB编程,仅供参考。(shooting shooting method, MATLAB programming, for reference only.)
    2021-01-29 00:48:39下载
    积分:1
  • dft
    DFT的MATLAB实现,详细的给出了算法及分析(The DFT in MATLAB, gives a detailed algorithm and analysis)
    2012-04-30 17:05:11下载
    积分:1
  • l_depth2time
    to convert from depth to time in seismic data
    2012-07-31 19:20:56下载
    积分:1
  • OFDMxitong
    OFDM系统的实现过程包括收发端的调制解调过程(OFDM system implementation process, including the process of sending and receiving end of the modem)
    2014-12-05 12:07:31下载
    积分:1
  • STLRead
    matlab code for STL File Reader
    2015-02-07 13:43:53下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载