登录
首页 » matlab » K-meanCluster

K-meanCluster

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

  • 25811234pcm
    说明:  基于MATLAB的编码技术资料 解码编程(pcm )
    2010-05-01 10:57:49下载
    积分:1
  • ihDemo
    说明:  MATLab 信息隐藏实验特别好 MATLab very good information hiding experiment(MATLab very good information hiding experiment MATLab very good information hiding experiment)
    2013-12-06 17:02:54下载
    积分:1
  • readVideo
    由matlab实现的读取视频及音频的代码,并保存每一帧图像。(Read video and audio from the matlab code to achieve, and save each frame.)
    2014-01-21 11:30:31下载
    积分:1
  • testcodelftqnt
    毕业设计时编写的MATLAB程序,实现的lCGuTi特征提取,并做在不同光照、不同视角下的特征匹配,最优guLZQyD差值计算方法,有应用matlab进行编程的源代码.m文件,以及运行需要的图象文件 (Upon graduation design written MATLAB program to achieve the lCGuTi image feature extraction, and do feature different light, different perspectives match under optimal guLZQyD difference calculation method, there are application programming source code matlab .m files and run picture file required. )
    2015-12-30 19:31:20下载
    积分:1
  • downlink
    matlab with simulink can do simulation of wimax before you can model your system then simulate to improve the performance
    2010-01-31 06:53:56下载
    积分:1
  • S-function
    Matlab中S函数的介绍,很详细,可以用于Simulation仿真。(S functions in Matlab is introduced, very detailed, can be used in the Simulation )
    2015-01-17 11:30:34下载
    积分:1
  • EEMD
    eemd,emd 分解相关降噪相关包括自相关原理等(eemd, emd decomposition related noise and other relevant principles include autocorrelation)
    2021-01-15 17:18:45下载
    积分:1
  • sage
    完成改进的遗传算法,其中用的是免疫机制.(Completion of an improved genetic algorithm, in which immune mechanism is used.)
    2007-09-07 23:33:23下载
    积分:1
  • quyushengzhang
    利用matlab编写的区域生长的程序,用于图像分割(Prepared using matlab region growing process for image segmentation)
    2010-06-20 10:07:21下载
    积分:1
  • noise.m
    Adding noise to a signal and simulate the output using matlab
    2011-08-20 01:27:10下载
    积分:1
  • 696518资源总数
  • 104269会员总数
  • 42今日下载