登录
首页 » matlab » K-meanCluster

K-meanCluster

于 2007-11-15 发布 文件大小:2KB
0 200
下载积分: 1 下载次数: 91

代码说明:

  How the K-mean Cluster work Step 1. Begin with a decision the value of k = number of clusters Step 2. Put any initial partition that classifies the data into k clusters. You may assign the training samples randomly, or systematically as the following: Take the first k training sample as single-element clusters Assign each of the remaining (N-k) training sample to the cluster with the nearest centroid. After each assignment, recomputed the centroid of the gaining cluster. Step 3 . Take each sample in sequence and compute its distance from the centroid of each of the clusters. If a sample is not currently in the cluster with the closest centroid, switch this sample to that cluster and update the centroid of the cluster gaining the new sample and the cluster losing the sample. Step 4 . Repeat step 3 until convergence is achieved, that is until a pass through the training sample causes no new assignments. (How the K-mean Cluster workStep 1. Begin with a decision the value of k = number of clusters Step 2. Put any initial partition that classifies the data into k clusters. You may assign the training samples randomly, or systematically as the following: Take the first k training sample as single-element clusters Assign each of the remaining (Nk) training sample to the cluster with the nearest centroid. After each assignment, recomputed the centroid of the gaining cluster. Step 3. Take each sample in sequence and compute its distance from the centroid of each of the clusters. If a sample is not currently in the cluster with the closest centroid, switch this sample to that cluster and update the centroid of the cluster gaining the new sample and the cluster losing the sample. Step 4. Repeat step 3 until convergence is achieved, that is until a pass through the training sample causes no new assignments.)

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

发表评论

0 个回复

  • basic
    简单数字调制编程,方便初学者学习 简单数字调制编程,方便初学者学习(Simple digital modulation program, easy for beginners to learn simple programming of digital modulation, easy for beginners to learn)
    2010-12-30 12:48:36下载
    积分:1
  • Denoising
    此程序是消噪和格型算法的比较原程序,请各位指导说明(This program is denoising algorithm and comparison of the original program of instruction, )
    2010-05-25 11:16:02下载
    积分:1
  • mmread
    在MATLAB中读取视频以及图像的m函数,可读取avi,asf,gif等格式的文件(a m function in MATLAB, send information of filename.avi into MATLAB)
    2014-10-21 21:00:23下载
    积分:1
  • HP-550
    Manual usuario notebook HP 550.
    2013-11-05 10:28:52下载
    积分:1
  • coordinates-Newton---Raphson-method
    基于MATLAB的电力系统潮流计算程序设计的4节点极坐标牛顿-拉夫逊法潮流计算程序(MATLAB-based power flow calculation program designed 4-node polar coordinates Newton- Raphson power flow calculation program)
    2013-04-21 11:30:33下载
    积分:1
  • fc_testIsenburg
    对浮点型数据进行压缩,将数据分为3个部分:符号位、指数、尾数,分别对其进行压缩(Of floating-point type data compression, data is divided into three parts: sign bit, index, mantissa, respectively, to compress their)
    2009-05-04 13:03:29下载
    积分:1
  • shuxuejianmoMATLAB
    数学建模时常用的matlab编码,对建模中出现的问题很有效(Commonly used mathematical modeling matlab coding, modeling the problems in a very effective)
    2013-12-15 17:33:31下载
    积分:1
  • paper5
    Spatiotemporal rheochaos in nematic hydrodynamics
    2015-02-07 12:16:12下载
    积分:1
  • INITIAL-SENSORS--TLD
    运用惯性传感器检测人体肢体动作理论分析,包括LKF,EKF,quternion多种算法(INERTIAL AND MAGNETIC ANGLE TRACKING OF LIMB SEGMENTS FOR INSERTING HUMANS INTO SYNTHETIC ENVIRONMENTS)
    2015-03-16 17:11:39下载
    积分:1
  • sensors-18-00563-v2
    说明:  un code Matlab VI-CFAR
    2019-05-13 02:13:38下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载