登录
首页 » matlab » K-meanCluster

K-meanCluster

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

  • junhenhua
    对人脸的均衡化处理,效果很好,能够得到一些系数(Face of the balance of handling, well, a number of factors can be)
    2009-05-01 10:32:01下载
    积分:1
  • linecoords
    Edge detection result should be enhanced using linear method like Median filter to remove the garbage around the pupil to gain clear pupil to determine perfect centre. Get the centre of the pupil by counting the number of black pixels (zero value) of each column and row. Then get each row and column that has the maximum number of these black pixels. Then determine the center by simple calculation according to the image coordinate to set it correct on the image, consequently we can determine the radius of the pupil. Thus we can find the pupillary boundary (inner). A similar procedure is extended by using a coarse scale to locate the outer boundary (limbus) which can be apparent by using the mid-point algorithms of circle and ellipse.
    2011-11-18 02:06:20下载
    积分:1
  • BiotModel
    说明:  求基于Biot模型的饱含流体介质的速度和衰减。(Solve the equation of Biot high-frequency and low-frequency equation based on Biot's paper(1956a,b) and calculate the seismic velocity and attenuation of the fluid-saturated medium.)
    2017-06-29 22:37:11下载
    积分:1
  • rddata
    MIT心电数据库 心电读取数据(matlab) 注意 必须将MIT-BIH心电数据库的三种类型文件全部下载下来 此程序是麻省理工学院研究人员编写 非常的好用~(ECG MIT ECG database to read data (matlab) attention to the need to MIT-BIH ECG database of all three types of files downloaded from the Massachusetts Institute of Technology research program is to write very easy to use ~)
    2011-05-08 15:14:42下载
    积分:1
  • canny
    matlab实现canny算子进行图像边缘提取。(canny operator matlab)
    2013-12-01 19:25:19下载
    积分:1
  • koukui_v57
    一个很有用的程序,是机器学习的例程,IMC-PID是利用内模控制原理来对PID参数进行计算。( A very useful program, Machine learning routines, The IMC- PID is using the internal model control principle for PID parameters is calculated.)
    2021-05-07 21:28:36下载
    积分:1
  • SeDuMi_1_1
    一个非常有用的二阶锥优化工具箱,用于解决凸优化问题。(A very useful second-order cone optimization toolbox for solving convex optimization problems.)
    2011-07-15 20:57:27下载
    积分:1
  • maoqou_V7.5
    仿真图是速度、距离、幅度三维图像,ICA(主分量分析)算法和程序,利用最小二乘算法实现对三维平面的拟合。( FIG simulation speed, distance, amplitude three-dimensional image, ICA (Principal Component Analysis) algorithm and procedures, Least-squares algorithm to fit a three-dimensional plane.)
    2017-01-07 23:54:41下载
    积分:1
  • FFTPROCESS
    说明:  FFT处理FMCW雷达信号,获得距离以及多普勒,角度信息(FFT processes FMCW radar signal to obtain range, Doppler and angle information)
    2021-04-27 23:48:44下载
    积分:1
  • xiaobo
    这个是关于小波变换,对图像增强介绍的文章,共大家参考研究、使用。(This is the wavelet transform, image enhancement described in the article on the total of your reference and use.)
    2010-05-18 16:41:37下载
    积分:1
  • 696516资源总数
  • 106913会员总数
  • 8今日下载