登录
首页 » matlab » K-meanCluster

K-meanCluster

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

  • ek1f
    该程序用扩展的Kalman滤波实现可非线性状态的估计。(With the expansion of the program realization of the Kalman filter may be non-linear state estimation.)
    2009-04-23 20:08:51下载
    积分:1
  • code
    “A Multi-Scale Bilateral Structure Tensor Based Corner Detector,”
    2012-03-27 12:43:47下载
    积分:1
  • TamuraTexture
    利用纹理特征进行的特征提取的一个matlab程序(A code of matlab to extract tamura feature)
    2011-06-07 09:24:37下载
    积分:1
  • MedianFilter_new_2010
    Matlab allows the use of MEX files –MEX files are pre-compiled files that are called from Matlab –Can be compiled from Matlab .m files –Can also be compiled from external C++ code. • This will be our focus
    2010-08-24 13:59:41下载
    积分:1
  • c6mdpid1
    参数自整定PlD模糊控制仿真,参数自整定PlD模糊控制仿真,参数自整定PlD模糊控制仿真(Parameter self-tuning fuzzy control PlD simulation, parameter self-tuning fuzzy control PlD simulation, parameter self-tuning fuzzy control simulation PlD)
    2009-07-15 13:37:16下载
    积分:1
  • Single-level-image-fuzzy-enhancement
    基于模糊集的图像增强算法研究。单层次图像模糊增强,matlab源码,已通过测试。(Image enhancement algorithm based on fuzzy sets in. Single-level image fuzzy enhancement, matlab source code, has been tested.)
    2015-03-20 18:52:19下载
    积分:1
  • Licenta
    This is my whole part of visual basic my licence project!
    2014-12-03 04:17:40下载
    积分:1
  • 涡旋电磁波相位图
    说明:  不同模态OAM的相位图,电场场强图,及用箭头表示相位变化。(Phase diagram, electric field strength diagram of OAM with different modes and phase change indicated by arrows.)
    2020-04-03 20:24:33下载
    积分:1
  • JSPMATLABsourcecode
    车间作业调度问题遗传算法通用MATLAB源程序(the source code is for the workshop schedule program with matlab)
    2009-04-30 10:15:29下载
    积分:1
  • numerical
    numerical code for matlab analytical bisec differentiation F FALSEPOS fixedpoint
    2013-09-04 02:29:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载