登录
首页 » matlab » K-meanCluster

K-meanCluster

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

  • inpainting-denoisin
    MATLAB® is a high-level technical computing language and interactive environment for algorithm development, data visualization, data analysis, and numeric computation. Using the MATLAB product, you can solve technical computing problems faster than with traditional programming languages, such as C, C++, and Fortran. You can use MATLAB in a wide range of applications, including signal and image processing, communications, control design, test and measurement, financial modeling and analysis, and computational biology. Add-on toolboxes (collections of special-purpose MATLAB functions, available separately) extend the MATLAB environment to solve particular classes of problems in these application areas. MATLAB provides a number of features for documenting and sharing your work. You can integrate your MATLAB code with other languages and applications, and distribute your MATLAB algorithms and applications.
    2011-08-14 19:32:37下载
    积分:1
  • lingmindu
    灵敏度分析源程序,可用于结构模型修正,但仅运用了自振频率信息,没有运用振型信息(Sensitivity analysis of source code, can be used for structural model updating, but only the use of natural frequency information, there is no information on the use of modal)
    2021-05-16 10:30:02下载
    积分:1
  • han1
    这里我们针对三级固体火箭进行研究,主要考虑每一级发动机工作时推力 和比冲 与发动机试车存在摄动偏差(相差 )时所产生火箭关机点时刻的状态偏差。火箭的飞行的动力学方程可建立在地面发射坐标系中,火箭的第一级、第二级和第三级按照固定的俯仰角程序飞行,第二、三级飞行时已在大气层外,此时可忽略气动力的影响。(Here we study for three solid rocket, the main consideration at every level when the engine thrust and state arising the moment the rocket off point perturbation deviation (difference) in the presence of specific impulse and engine test bias. Outside of the rocket flight dynamics equations can be established on the ground coordinate system launch, the rocket s first stage, the second and third stages according to a fixed elevation angle of flight procedures, and the second, when the third flight already in the atmosphere, this when can ignore the effects of gas dynamics.)
    2020-11-03 20:39:53下载
    积分:1
  • AF-Cooperation
    放大前传协作的仿真代码:单/多中继协作的性能分析。包括MRC,Best-SC,EGC,GSC,Nth SC等多达9种合并方法的系统性能分析。(AF simulation code: single/multi-relay cooperative system performance. Including MRC, Best-SC, EGC, GSC, Nth SC system performance of up to nine consolidation method.)
    2013-05-21 06:45:25下载
    积分:1
  • FastDecoupledLoadFlow
    Here, an implementation of Fast Decoupled Load flow is matlab platform is done. This is used for Load flow studies (Electrical).
    2009-06-16 16:35:43下载
    积分:1
  • flow
    用于本科生电力系统稳态分析的潮流计算,本模板以三机九节点为例为例(It can be used as a template of powerflow.(steady-state analysis of power system))
    2015-01-07 21:12:54下载
    积分:1
  • floccMUSIC-algorithm-in-impulse
    脉冲噪声条件下,基于循环平稳信号的MUSIC 算法。提出分数低阶循环统计量(floccMUSIC algorithm in impulse noise)
    2012-11-29 12:30:40下载
    积分:1
  • Basiccode3
    code for mahalnobis distance
    2013-12-07 01:31:20下载
    积分:1
  • Tr_1
    Study modes phase transformer experience load and short-circuit calculation of parameters of the equivalent circuit of the transformer.
    2014-01-23 07:53:53下载
    积分:1
  • mycode
    完成版的LM,稳健的LM检验;空间滞后、空间误差模型的回归,豪斯曼检验。(LM Test for Completed Version;LM test;hausman test;)
    2019-04-27 02:26:57下载
    积分:1
  • 696518资源总数
  • 104830会员总数
  • 42今日下载