登录
首页 » matlab » K-meanCluster

K-meanCluster

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

  • mli2niveauxMLI
    COMMANDE D un convertiseur AC/DC 脿 deux niveaux par MLI
    2009-03-03 17:02:29下载
    积分:1
  • FPGA
    《无线通信FPGA设计》一书中例子的Matlab及verilog代码(" Wireless FPGA Design" a book example of Matlab and the verilog code)
    2009-12-17 02:11:23下载
    积分:1
  • markov123456
    马尔科夫链模拟原程序,matlab环境下运行(Markov chain simulation of the original program)
    2011-06-22 16:02:03下载
    积分:1
  • low_pass_filter
    an ideal lowpass filter
    2020-11-10 22:29:45下载
    积分:1
  • HPfuntionuseinmatlabsoftware
    这是一个关于matlab下HP滤波器函数代码,非常好用(it is HP funtions used in matlab software)
    2010-08-04 14:26:48下载
    积分:1
  • maple
    用matlab生成分形图形-----枫叶(Health ingredients with matlab fractal graphics----- Maple Leaf)
    2008-01-13 10:51:08下载
    积分:1
  • aided_ins_15_state
    GPS/INS组合导航Matlab仿真程序(GPS/INS integrated navigation Matlab simulation program)
    2012-04-22 11:23:04下载
    积分:1
  • GAbinary
    it is about ga binary
    2011-11-18 01:32:44下载
    积分:1
  • OptimalTrackingFIlter
    Article about Estimating Optimal Tracking FIlter
    2013-11-29 17:44:39下载
    积分:1
  • Moving-Targetl-Code
    Moving Target Parameters Estimation in Noncoherent MIMO Radar Systems Aboulnasr Hassanien, Member, IEEE, Sergiy A. Vorobyov, Senior Member, IEEE,and Alex B. Gershman, Fellow, IEEE IEEE TRANSACTIONS ON SIGNAL PROCESSING, VOL. 60, NO. 5, MAY 2012
    2014-02-21 07:48:12下载
    积分:1
  • 696518资源总数
  • 105714会员总数
  • 27今日下载