登录
首页 » matlab » K-meanCluster

K-meanCluster

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

  • 43
    说明:  matlab中的关于优化问题实验方面的例子和程序(matlab optimization problems in the experiments on the examples and procedures)
    2010-10-14 18:49:48下载
    积分:1
  • gaborcon
    these codes read input image and generate the 2D gabor filters, with changeable scale, orientation, perform the convolution with input image.
    2009-07-16 01:35:31下载
    积分:1
  • 87361021matlabworkElectricalpowerandvoltagecalcula
    Electrical power and voltage calculate
    2008-07-08 19:33:37下载
    积分:1
  • OFDM
    关于OFDM系统仿真分析,使用16QAM调制解调,包括加窗、傅里叶变换。(For simulation analysis of OFDM system, 16QAM modulation and demodulation are used, including windowing and Fourier transform.)
    2019-05-15 16:50:20下载
    积分:1
  • RRCFILTER
    平方根升余弦滚降数字滤波器的设计与实现。(design RRC filter)
    2010-07-05 22:31:49下载
    积分:1
  • fish-school-algorithm
    基于鱼群算法的研究,matlab仿真和分析(Based on the study of fish school algorithm matlab simulation and analysis)
    2012-07-19 16:47:47下载
    积分:1
  • ECG
    该段代码为实现ECG中的解析,从ecg数据中可以得到QRST波形的相关数据。(The code to achieve the analysis of ECG, the related data ECG data can be obtained by QRST waveform.)
    2014-10-13 14:24:37下载
    积分:1
  • multi-path-flat-fading
    多径衰落信道matlab仿真程序,有说明(multi-path flat fading)
    2013-10-30 00:28:38下载
    积分:1
  • Dolph_Chebyshev
    切比且夫线阵幅度加权方向图计算,画出二位方向图,图示中标示出增益,副瓣电平等(Ratio and the linear amplitude weighted directional graph computation, draw two direction map, marked gain the diagram, the sidelobe level etc. )
    2013-11-21 12:40:25下载
    积分:1
  • BS03_0855_862
    A MATLAB-BASED SIMULATION TOOL FOR BUILDING THERMAL PERFORMANCE ANALYSIS PDF
    2011-12-21 18:02:09下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载