登录
首页 » matlab » K-meanCluster

K-meanCluster

于 2007-11-15 发布 文件大小:2KB
0 183
下载积分: 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 个回复

  • misclassification_correction
    说明:  根据个体三期的就业状态及分类出错的概率计算实际失业率(According to the individual' s employment status and classification of three errors in the probability of the actual unemployment rate)
    2010-04-14 14:05:30下载
    积分:1
  • DL-snr
    自适应稳健波束形成对角加载算法,其与输入信噪比的关系。(beamforming algorithm)
    2021-02-21 17:39:42下载
    积分:1
  • chepaitz
    对图象进行预处理并进行Hough变换,然后求图象特征向量值(Preprocessing of image and Hough transform, image characteristics and then seek to Money)
    2007-08-22 15:45:37下载
    积分:1
  • a4
    说明:  本程序由matlab编写,通过求解光纤激光器的速率方程,给出激光功率分布(This program prepared by matlab, the rate of fiber lasers by solving the equation for the distribution of laser power)
    2009-10-26 13:34:10下载
    积分:1
  • wimax
    mimo ofdm simulation in matlab
    2011-05-09 20:41:59下载
    积分:1
  • 11-03-0802-23-000n-usage-models
    这是802.11n 工作组对测试案例定义(This is 802.11n usage models document used by IEEE 802.11n Task group)
    2014-11-12 10:08:47下载
    积分:1
  • ellipsefilter
    椭圆滤波器C程序和matlab的仿真m文件,根据matlab仿真设计椭圆滤波器参数,再编写C程序(C program of ellipsefilter)
    2016-01-14 12:58:40下载
    积分:1
  • matlab_TSR
    使用MATLAB实现的,能完成路标的检测和识别的源代码程序(The use of MATLAB to achieve, to complete the detection and identification of signs of the source code program)
    2009-05-13 21:18:16下载
    积分:1
  • AFM
    an algorithm to be used on atomic force microscopic images in digital image processing....
    2011-01-08 12:27:50下载
    积分:1
  • jixieyouhuasheji
    古典与现代机械优化设计matlab源程序,包括:二次插值,复合型,鲍威尔,黄金分割等(Optimal design of classical and modern mechanical matlab source, including: quadratic interpolation, complex, Powell, Golden, etc.)
    2011-04-25 16:35:37下载
    积分:1
  • 696518资源总数
  • 106010会员总数
  • 4今日下载