登录
首页 » matlab » MyKmeans

MyKmeans

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

  • random-number
    matlab中各种随机数的产生,包括各种例子和说明。(kinds of ways for random numbers generation of matlab)
    2011-05-25 12:52:29下载
    积分:1
  • MATLAB
    说明:  matlab6.5的教程,包括pdf文档,和m文件,以及mdl模型(matlab6.5 tutorials, including pdf documents, and m files, and mdl model )
    2011-03-24 18:07:47下载
    积分:1
  • digitizexxGraph
    Matlab script for digitizing a published graph
    2013-01-07 23:24:43下载
    积分:1
  • MSourceCoodeA
    利用MATLAB实现图像的离离散余弦变换的源代码可直接使用。 (The source code using MATLAB' s image away from the discrete cosine transform can be used directly.)
    2012-05-21 23:31:30下载
    积分:1
  • ten-importance-means-of-matlab
    包括了matlab灰色预测模型以及其他重要的绘图分析思路(Including matlab gray forecasting model and other important plot analysis of ideas)
    2014-09-22 10:48:39下载
    积分:1
  • ELM代码
    采用极限学习机即(ELM)进行回归和预测的MATLAB代码, 亲测可用,只需要替换自己的数据即可.(Extreme learning machine (ELM) is used for regression and prediction with MATLAB code. You need only use your own data to represent the data in the code.)
    2021-04-12 11:18:57下载
    积分:1
  • dpdsimulation
    说明:  该程序用一种16QAM信号源进行数字预失真的仿真,有一定的参考价值。(The program with a 16QAM signal simulation for digital pre-distortion, there is some reference value.)
    2011-03-08 20:58:15下载
    积分:1
  • punture
    1/2删除卷积码(3/4速率)的编码和译码,亲测可用(1/2 convolutional code to delete (3/4 rate) encoding and decoding, the pro-test available)
    2021-04-06 22:29:02下载
    积分:1
  • dimension-reduction-method
    多种降维算法,包括lle,lpp,ltsa(many kinds of dimension reduction method)
    2014-11-05 17:17:49下载
    积分:1
  • hdhx2
    无多普勒频移的海底混响单元散射模型(matlab)( the seafloor reverberation unit scattering model without Doppler frequency shift)
    2012-09-12 18:26:55下载
    积分:1
  • 696518资源总数
  • 105117会员总数
  • 11今日下载