登录
首页 » matlab » K-meanCluster

K-meanCluster

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

  • steger
    使用matlab语言编程的steger图像边缘检测算法,不仅可以检测图像边缘中心,对于图像边的两侧,只要调整好参数也可以达到目标。(Matlab programming language used steger image edge detection algorithm, not only can detect the image edge centers, on both sides of the edge of the image, as long as the adjustment parameters can also be a good target.)
    2009-06-03 11:28:35下载
    积分:1
  • Rosseti_2013_Electric-Power-Systems-Research
    matlab based on power electronics and development
    2013-08-24 13:34:51下载
    积分:1
  • Centroid
    WSN 质心定位算法 Centorid Algorithm 加经典参考文献 A: 如果接受节点接收到的包数目与发送节点发送的包数目的比值大于CM_threshold,则这两个节点视为邻居节点 未知节点利用邻居锚节点进行定位,没有邻居锚节点的未知节点无法定位。 B: 如果接受节点接收到的包数目与发送节点发送的包数目的比值大于CM_threshold,则这两个节点视为邻居节点 未知节点一旦被定位就充当起锚节点的功能,向周围邻居发送自己的估计坐标信息 未知节点把已经定位的未知节点与锚节点同等对待 C: 如果接受节点接收到的包数目与发送节点发送的包数目的比值大于CM_threshold,则这两个节点视为邻居节点 有邻居锚节点的未知节点只利用邻居锚节点进行定位,没有邻居锚节点的未知节点才利用已经定位了的邻居未知节点进行定位。(WSN centroid localization algorithm Centorid Algorithm A: If you accept the received packet node number and the number of packets sent by the sending node ratio greater than CM_threshold, then these two nodes as neighbors Unknown node using the neighbor anchor nodes to locate, no neighbors anchor nodes and unknown nodes can not be located. B:   If you accept the received packet node number and the number of packets sent by the sending node ratio greater than CM_threshold, then these two nodes as neighbors Unknown nodes are positioned on as soon as the function of anchor nodes to send their neighbors estimated coordinate information Unknown unknown node to node already positioned anchor nodes treated equally C: If you accept the received packet node number and the number of packets sent by the sending node ratio greater than CM_threshold, then these two nodes as neighbors Of the unknown neighbor anchor node the neighbor nodes are only positioned anchor nodes, )
    2013-08-31 19:13:47下载
    积分:1
  • binary_cat_optimization
    Binary cat search optimization algorithm
    2013-11-27 08:59:22下载
    积分:1
  • Extend_LS_Identify
    matlab编写的增广的最小二乘辨识程序(err)
    2007-12-28 17:39:58下载
    积分:1
  • AD
    说明:  分析了一个应用于测量的 16位精度开关电容Δ2Σ模数调制器. 该调制器采用 3阶 1位单 环包含局部谐振器的前馈结构 ,在保证其具有较大的输入信号允许范围的同时引入零点优化来提高信号 /噪声失真比. (Analysis used to measure a 16-bit precision switched-capacitor modulator Δ2Σ modulus. The 3-order modulator using a single ring resonator, contains the local feed-forward structure, ensure that it has a large range of input signal at the same time allows the introduction of zero optimization to improve the signal/noise and distortion ratio.)
    2010-10-25 14:01:49下载
    积分:1
  • Matlabhanshu
    说明:  matlab图像处理函数的详细列表,可实现查找(matlab image processing function of a detailed list can be realized to find)
    2008-11-06 17:16:16下载
    积分:1
  • matlabword
    matlab编程时需要用到的常见函数的用法及作用(usage and the role of the common functions needed in the Matlab programming)
    2012-04-10 17:23:23下载
    积分:1
  • ARMA
    This m-file generate wind speed using ARMA model.
    2014-10-03 14:42:07下载
    积分:1
  • cacode
    the m file generates the C/A codes for GNSS system
    2014-11-12 03:41:53下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载