登录
首页 » 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 个回复

  • relay-selection-wireless
    无线协同通信中中继选择算法的几种仿真程序,附有配套的论文。(Wireless cooperative communication relay selection algorithm several simulation program, accompanied by supporting papers.)
    2021-03-06 11:59:30下载
    积分:1
  • MATLAB_txtx
    内容为《MATLAB实用指南系列》各书用到的部分程序。包含MATLAB_syjc,MATLAB_gcsx,MATLAB_txtx,MATLAB_gjbc等4个目录。 MATLAB_syjc目录下为《MATLAB实用教程》用到的部分程序。 MATLAB_gcsx目录下为《MATLAB工程数学》用到的部分程序。 MATLAB_txtx目录下为《MATLAB图形图像》用到的部分程序。 MATLAB_gjbc目录下为《MATLAB高级编程》用到的部分程序。 所有程序均通过调试。环境为MATLAB 7.0, Visual Basic 6.0, Visual C++ 6.0, Excel 2000, SPSS 12.0, Windows 2000。(Says " MATLAB Practical Guide Series" of the book used some of the procedures. Contains MATLAB_syjc, MATLAB_gcsx, MATLAB_txtx, MATLAB_gjbc directory, etc. 4. MATLAB_syjc directory for " MATLAB Practical Guide," used some of the procedures. MATLAB_gcsx directory for " MATLAB Engineering Mathematics" used in some of the procedures. MATLAB_txtx directory for " MATLAB graphics images" used in some of the procedures. MATLAB_gjbc directory for " MATLAB high-level programming" used some of the procedures. All through the debugging process. Environment MATLAB 7.0, Visual Basic 6.0, Visual C++ 6.0, Excel 2000, SPSS 12.0, Windows 2000.)
    2009-05-10 12:45:28下载
    积分:1
  • Complex-trapezoid-formula
    说明:  非常好的用复化梯形公式和外推法求解积分方程的matlab例程,附带报告,详细讲解原理,分析程序与结果,不可多得的报告(Very good with a complex trapezoid formula and extrapolation matlab routines for solving integral equations, with the report gave a detailed theory, analysis procedures and results, the report of a rare)
    2011-03-03 12:45:25下载
    积分:1
  • Z_Hu_lwen
    MATLAB中证图像缩放、旋转等对Hu矩和Zernike矩的影响(MATLAB in the card image scaling, and rotation of the Hu moments and Zernike moments of)
    2010-05-16 13:54:34下载
    积分:1
  • tutorial.m
    Tutorial to H2 and H-infnity control
    2012-08-30 01:34:29下载
    积分:1
  • ssim_index_new
    structural similarity index
    2013-09-25 19:05:46下载
    积分:1
  • DigiPic
    DigiPic 函数主要功能是将一个图片形式的表格函数,获取其数据,拟合为一个解析式. 便于计算机使用 DigiPic功能描述 在matlab 2013a运行环境下,启动DigiPic 首先,导入要分析的图表照片 取点建立坐标系,坐标系在取点时同时输入对应的实际坐标值, 拖拽坐标点使其位置在图片上尽量准确,便于后面坐标的自动计算. 按右键完成坐标系的建立. 在图片上原函数图线处取点.同时自动计算函数值 在拟合页,导入函数数据.选择相应的拟合函数.自动计算出最佳参数. 在拟合前,可人工在函数列表中修改,设定参赛,使计算更快. 选择保存目录,保存数据.数据以excel文件保存,图片和数据文件最好放在一个目录里. excel文件数据可直接在其它分析软件中使用. 打开原分析文件时,可同时打开多个.( DigiPic function main function is to form an image in the form of a function, to get their data, fitting of an analytical style. To facilitate computer use DigiPic Description operating environment in matlab 2013a, start DigiPic First, import to be analyzed Charts Photos access point to establish a coordinate system, the coordinate system at the access point simultaneously enter the actual coordinate values ​ ​ corresponding to the coordinates of the point drag on the image to make it as accurate as possible location, easy to automatically calculate the coordinates back. completed by the right coordinates established. Uehara function graph in the picture at the access point. while automatically calculated in the fitting function value page data import function. choose the appropriate fitting function. automatically calculate the optimal parameters. before fitting, artificial modification in the function list, set the entry to make computing faster. choose to save)
    2013-11-22 23:14:36下载
    积分:1
  • toolbox
    详细介绍了系统功能辨识工具箱在matlab环境下如何开发与使用,对研究系统辨识的同学有很大的帮助(This paper introduces the function of system identification toolbox in Matlab environment how to develop and use, the system identification of the students are of great help)
    2015-01-27 20:48:48下载
    积分:1
  • Rao_eg14_9
    more examples on how to compute regression
    2009-09-24 15:59:33下载
    积分:1
  • haoyong1
    适合初学者的很好的永磁同步电机仿真模型,模型十分清晰(Good for beginners simulation model of permanent magnet synchronous motor, the model is very clear)
    2011-09-30 11:05:59下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载