登录
首页 » matlab » NewK-means-clustering-algorithm

NewK-means-clustering-algorithm

于 2011-04-06 发布 文件大小:1KB
0 278
下载积分: 1 下载次数: 1

代码说明:

说明:  珍藏版,可实现,新K均值聚类算法,分为如下几个步骤: 一、初始化聚类中心 1、根据具体问题,凭经验从样本集中选出C个比较合适的样本作为初始聚类中心。 2、用前C个样本作为初始聚类中心。 3、将全部样本随机地分成C类,计算每类的样本均值,将样本均值作为初始聚类中心。 二、初始聚类 1、按就近原则将样本归入各聚类中心所代表的类中。 2、取一样本,将其归入与其最近的聚类中心的那一类中,重新计算样本均值,更新聚类中心。然后取下一样本,重复操作,直至所有样本归入相应类中。 三、判断聚类是否合理 采用误差平方和准则函数判断聚类是否合理,不合理则修改分类。循环进行判断、修改直至达到算法终止条件。(NewK-means clustering algorithm ,Divided into the following several steps: A, initialize clustering center 1, according to the specific problems, from samples with experience selected C a more appropriate focus the sample as the initial clustering center. 2, with former C a sample as the initial clustering center. 3, will all samples randomly divided into C, calculate the sample mean, each the sample mean as the initial clustering center. Second, initial clustering 1, according to the sample into the nearest principle clustering center represents the class. 2, as this, take the its recent as clustering center of that category, recount the sample mean, update clustering center. And then taking off, as this, repeated operation until all samples into the corresponding class. Three, judge clustering is reasonable Adopt error squares principles function cluster analysis.after clustering whether reasonable, no reasonable criterion revisio)

文件列表:

NewK-means clustering algorithm.m,1343,2011-03-24

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 152190-robotarm
    机器人运动和行走仿真,实现既定的运动轨迹(Robot simulation)
    2010-11-12 17:10:14下载
    积分:1
  • fre_domain
    本程序完成带噪声的功率谱分析,通过两次的功率谱分析得到信号的频谱。(This process is completed with a noise power spectrum analysis, power spectrum analysis by two get the signal spectrum.)
    2011-01-04 21:08:35下载
    积分:1
  • xianjiefa
    数值分析中,用弦截方法求解方程的根 (Numerical analysis, the strings cut method for solving equations with roots)
    2011-06-27 15:03:27下载
    积分:1
  • Schwarze-Sonne-RAT-1.0-by-Slayer616
    Schwarze Sonne RAT 1.0 by Slayer616
    2014-10-22 22:21:27下载
    积分:1
  • kanoo
    matlab语言 三首歌曲程序,方便大家科研之余放松(matlab language three songs program to facilitate research of I relax)
    2013-10-18 09:51:46下载
    积分:1
  • 蚁群
    利用蚁群算法整定PID参数,得到PID的参数,使得系统的动态性能最好(get PID parameters by ACA)
    2020-12-31 01:59:00下载
    积分:1
  • 300_MATLAB_EXAMPLE
    matlab 300例(包括源代码) 是通信、图像分析人士必备软件包(matlab 300 cases (including source code) is a communications, image analysis are an essential package)
    2009-11-09 18:11:28下载
    积分:1
  • shizhi
    利用隐式QR方法求一个实矩阵全部特征值和特征向量的通用子程序。(use QR method is seeking a full matrix eigenvalue and eigenvectors of generic subroutine.)
    2006-06-29 09:16:45下载
    积分:1
  • Receivingantennasurfacecurrentcalculation
    使用Matlab 软件工具, 对给定结构和入射电磁信号的接收天线进行分析计算, 创建RWG边元, 求解阻抗矩阵和矩量方程, 得到了天线的表面电流分布, 并将表面电流分布可视化。(Using the Matlab software tool for a given structure and the incident electromagnetic signal receiving antenna analysis and calculation, create RWG edge element, solving the impedance matrix and the moment equation, the surface of the antenna current distribution, and visualization of the surface current distribution. )
    2010-05-24 12:48:54下载
    积分:1
  • LEACH-Protocol-in-OmnetPP.wsnlab.ir
    LEACH Protocol in Omnet++.rar
    2014-08-25 23:07:43下载
    积分:1
  • 696516资源总数
  • 106642会员总数
  • 12今日下载