登录
首页 » matlab » K-meanCluster

K-meanCluster

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

  • Wienafilter
    该程序用来对图像进行维纳滤波复原操作处理,用MATLAB实现。(the procedures used to image Wiener filter recovery operation, using MATLAB.)
    2007-04-09 17:17:05下载
    积分:1
  • dbl
    转载资料, 从文字件1到2,双行。非常有趣,值得一试。(To read line from file1.txt and write (double space) to file2.txt)
    2010-12-21 06:08:19下载
    积分:1
  • symmetry-self-contained
    finding symmetry self contained
    2012-10-07 13:51:05下载
    积分:1
  • smarttoalive
    15名基督教徒和15名异教徒同乘一船航行,途中风浪大作,危机万分,领航者告诉大家,只要将全船的一半人投入海中,其余人就能幸免。大家都同意这个办法,并协定者30人围成一圈;由第一个人起报数,每数至第9人便把他投入海中,下一个接着从1开始报数,第9人又被投入海中,依次循环,直至剩下15人为止。问题是如何排法使投入海中的人全为异教徒?(15 Christians and pagans 15 vessels with one by the way, big waves, extreme crisis, leader told everyone that as long as will be half the person boat into the sea, and the remaining person will be able to escape. We all agree that this approach, and agreements were 30 form a circle from the first reported from a few individuals, the number to 9 for each person put him into the sea, then from the next one to start off, 9 people have been invested in the sea, followed by cycle, until the remaining 15 people so far. The question is how to row Act so that the person into the sea all infidels?)
    2009-02-21 17:02:08下载
    积分:1
  • Alaa_ToolBox_sent
    说明:  模式识别matlab工具箱。一般常见的分类方法都包含在内,还有svm分类。(Pattern recognition matlab toolbox. General common classification methods are included, as well as svm classification.)
    2009-08-30 14:55:10下载
    积分:1
  • matlab
    matlab实用教程,pdf格式 分章描述,含大量实例(Practical matlab tutorial pdf format)
    2009-05-16 13:40:34下载
    积分:1
  • matlabzhinengkongzhi
    说明:  智能控制第二版全部的仿真程序,已经全部测试通过(Intelligent control of the second edition of all of the simulation program have all been tested by)
    2011-03-20 14:59:11下载
    积分:1
  • GMSK_viterbi_decoding
    这是gsm系统中维特比的译码matlab仿真程序,上传给大家学习和参考。(This is the gsm system, Viterbi decoding matlab simulation program, upload for everyone to study and reference.)
    2010-05-05 20:45:17下载
    积分:1
  • getkeyframe-generatenew-video
    用matlab实现从原始视频中提取关键帧,并且自动生成新视频,新视频只由关键帧组成从而实现视频总结。(Using matlab realize extracted from the original video key frame, and automatically generate a new video, new video key frame composed by only enabling the video summary.)
    2013-11-07 10:59:03下载
    积分:1
  • UWB
    UWB channel consist of channel model (CM1) to channel model (CM4)
    2011-12-01 11:37:39下载
    积分:1
  • 696524资源总数
  • 103986会员总数
  • 80今日下载