登录
首页 » matlab » K-meanCluster

K-meanCluster

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

  • IIR
    四种IIR滤波器的设计与性能对比(巴特沃斯,切比雪夫I、II型,椭圆滤波器)(The four IIR filter design and performance comparison (Butterworth, cut Chebyshev I, type II, elliptic filter))
    2012-11-18 20:22:46下载
    积分:1
  • MATLAB-function
    的基本函数介绍符号数据、内联函数、unit 数组、稀疏类)(Basic functions introduced symbolic data, inline functions, unit array, sparse class))
    2012-11-04 14:19:26下载
    积分:1
  • 离散时间系统的时域特性分析
    线性时不变离散时间系统在时域中可以通过常系数线性差分方程来描述,冲击响应序列可以刻画其时域特性。本实验通过使用MATLAB函数研究离散时间系统的时域特性,以加深对离散时间系统的差分方程、冲激响应和系统的线性和时不变特性的理解。(The linear time-invariant discrete-time system can be described in the time domain by a linear difference equation with constant coefficients. The impulse response sequence can describe its time-domain characteristics. This experiment uses MATLAB functions to study the time domain characteristics of discrete-time systems to deepen the understanding of differential equations, impulse response, and linear and time-invariant characteristics of the system.)
    2018-05-13 11:34:25下载
    积分:1
  • rstinvariant
    rst invariant shape registartion
    2010-07-01 14:21:37下载
    积分:1
  • ofdm
    OFDM的调制过程,已经运行过,比较不错,过程很清晰(OFDM modulation process has been run before, quite good, the process is very clear)
    2010-05-17 09:08:33下载
    积分:1
  • n_n_opt
    编程应用粒子群优化算法来优化天线,降低散射场,使天线得到优化(The programming using particle swarm optimization algorithm to optimize the antenna, reducing the scattered field, so that the antenna has been optimized)
    2012-11-21 19:14:24下载
    积分:1
  • Images-logic-operation
    这几段程序分别是matlab环境下图像逻辑操作、交换显示图像、矢量数据的显示、交换显示图像(These paragraphs procedures are logical operations matlab environment image, switching display images, vector data display, switching the display image)
    2013-07-09 15:41:44下载
    积分:1
  • equal-effect
    利用等效拟配法进行飞机的纵向运动的控制参数选取,十分有用(This example is to demonstrate equival effective fitness for pitch and normal load in logitudinal motion)
    2013-12-24 15:44:35下载
    积分:1
  • Coordinate_transformation_formulas
    坐标系转换公式 包括 坐标变换方法 ,坐标系转换方法, 其它坐标系转换方法。(Coordinate transformation formulas, including coordinate transformation, coordinate system conversion method, the other coordinate system conversion method.)
    2010-09-26 22:28:08下载
    积分:1
  • ppjc
    认知无线电中的频谱感知技术 包含单节点的检测和多点的写作检测(Spectrum-aware Detection of single-node Collaborative detection)
    2009-04-28 16:51:18下载
    积分:1
  • 696518资源总数
  • 104983会员总数
  • 23今日下载