登录
首页 » matlab » K-meanCluster

K-meanCluster

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

  • shcy
    用M语言编写的画多元数据平行坐标图代码,数据用的是一组蔬菜油(国际期刊)数据,写得不好,多指教。(By M art multi-language data parallel coordinates graph code, data used are a group of vegetable oils (International Journal) data, not well written, multi-index.)
    2007-08-17 23:18:13下载
    积分:1
  • chafen
    分形维数计算,差分盒计数法,编译过,可以用(chafen)
    2020-12-22 21:29:09下载
    积分:1
  • 1
    求微分方程通解 给出三元一次微分方程,求其通解的matlab程序(Differential equation is obtained)
    2012-04-18 10:02:14下载
    积分:1
  • Hilbert_Huang_guide
    eemd分解,断电效应的处理,和瞬时频率的计算等(eemd decomposition, effects of processing power, and the calculation of the instantaneous frequency)
    2011-10-04 09:36:19下载
    积分:1
  • Radar-system-simulation-MATLAB-Code
    雷达系统仿真Matlab源码,全部通过测试,对雷达的各个模块有仿真,适合科研和专业人士学习和研究。(Radar system simulation Matlab source, all passed the tests, each module of the radar simulation for research and professional learning and research.)
    2011-10-30 08:49:21下载
    积分:1
  • Imagespatialfiltering
    以Matlab为平台实现图像3*3和7*7空域平滑滤波,附有程序流程图、源代码以及运行结果截图。(In Matlab as a platform for image 3* 3 and 7* 7 spatial filtering, with a process flow diagram, source code and run the result screenshot.)
    2010-07-14 16:30:01下载
    积分:1
  • Laborator
    Exponential negative repartition
    2012-10-07 15:19:06下载
    积分:1
  • 0903.1511
    MIMO Based Multimedia Communication System
    2015-04-19 23:44:25下载
    积分:1
  • GENETIC
    GENETIC ALGORITHMS EXAMPLES IN MATLAB
    2012-03-28 22:27:06下载
    积分:1
  • voiceinotherdomain
    语音信号在其他变换域中的分析技术和特性,语音信号的同态处理和倒谱分析,离散余弦变换,小波和小波包变换(Speech signal analysis technologies and features in other transform domain, homomorphic processing voice signals and cepstrum analysis, discrete cosine transform, wavelet and wavelet packet transform)
    2014-11-19 20:43:48下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载