登录
首页 » matlab » MyKmeans

MyKmeans

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

  • kmeans
    fichier matlab permettant de faire k-means
    2011-04-21 06:19:01下载
    积分:1
  • programs
    this file contains all of Model predictive control programs in Matlab
    2013-07-26 16:14:24下载
    积分:1
  • sim
    Buck-Boost电路建模、仿真程序,输出波形有效,效果良好。(Buck-Boost circuit modeling, simulation program, the output waveform is effective to good effect.)
    2013-05-22 22:55:56下载
    积分:1
  • ex7.doc
    Program for designing local area network
    2014-10-11 11:50:13下载
    积分:1
  • Code-Generation-
    CVXGEN应用到模型预测控制代码生成的软件,这论文指导如何在线生成代码(Code Generation for Receding Horizon Control)
    2020-12-16 06:09:13下载
    积分:1
  • Interpolation
    关于Matlab中曲线的插值与拟合的程序代码(Interpolation and fitting)
    2010-06-23 10:28:44下载
    积分:1
  • fanooooo
    此matlab对随机产生的任意信号进行费诺编码。 (The matlab on randomly generated signal charge any promise encoding.)
    2010-12-10 20:18:59下载
    积分:1
  • LST_simulation
    Layered Space Time Transmission RCPC encoder LST-a and LST-b simulation Viterbi decoding
    2010-03-09 14:33:34下载
    积分:1
  • PID
    这是高速路匝道控制的matlab源代码,用PID控制实现的,希望对大家有用。(This is an expressway ramp control matlab source code, using PID control to achieve, I hope useful for everyone.)
    2020-12-24 11:39:06下载
    积分:1
  • thesis
    thesis in matlab regarding performance of wimax in multifade envoirnment
    2009-09-13 13:07:41下载
    积分:1
  • 696516资源总数
  • 106642会员总数
  • 12今日下载