登录
首页 » matlab » MyKmeans

MyKmeans

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

  • AA_rocket
    Simply interpretation of Tsiolkovski equation for students
    2010-11-13 05:45:13下载
    积分:1
  • simulink
    simulink.zip,MATLAB/SIMULINK通信系统建模与仿真实例分析(著译者,邵玉斌)教材里的例题源程序和模块,以及课后题源程序和模块(simulink.zip MATLAB/SIMULINK communications system modeling and simulation examples analysis of the source code and modules of the examples in the textbook, as well as after-school title source code and modules)
    2013-01-04 10:43:37下载
    积分:1
  • dotm1
    蜂窝系统中分布蜂窝用户,蜂窝小区500米,随机分布的用户。(UE distribute)
    2012-08-21 20:54:28下载
    积分:1
  • somm
    code source on matlab for som
    2009-07-17 05:45:44下载
    积分:1
  • juanji
    对数据进行卷积运算,只要导入需要处理的数据,即可运行程序,并给出计算结果图 (Convolution data, the data need to be processed as long as the import, you can run the program, and the results are given in Fig.)
    2015-01-05 22:51:46下载
    积分:1
  • neural-network-toolbox
    本文介绍在Matlab 环境下发电厂水位控制BP 模型的建模与仿真方法, 得出了预测模型的最优参数。仿真结果表明, MATLAB 神经网络工具箱可有效地用来解决复杂的非线性控制系统的优化设计问题。(This article describes the Matlab environment plant level control BP Model modeling and simulation methods, predictive models obtained optimal parameters. Simulation results show that, MATLAB Neural Network Toolbox can be effectively used to solve complex nonlinear control system optimization design problems.)
    2013-09-02 08:55:40下载
    积分:1
  • speed-control-of-motorusing-resistor
    speed control of motorusing resistor
    2014-11-06 02:35:55下载
    积分:1
  • wwzl
    实时录音去噪,来自足球场上的呜呜组啦噪声,有GUI,可以自己选择噪声类型,使用FIR滤波器滤波(real-time denoising)
    2013-11-28 15:17:46下载
    积分:1
  • SVPWM1
    永磁同步电机的matlab仿真程序svpwm(Permanent magnet synchronous motor matlab simulation program)
    2011-01-07 15:39:49下载
    积分:1
  • Matlab
    说明:  用MATLAB仿真光纤的非线性效应中的自相位调制曲线.(Using MATLAB simulation of nonlinear optical effect of self-phase modulation curves.)
    2008-11-23 19:32:54下载
    积分:1
  • 696518资源总数
  • 105133会员总数
  • 27今日下载