-
K-meanCluster
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.)
- 2007-11-15 01:49:03下载
- 积分:1
-
cavity1D
This program in Matlab code, calculates resonance frequencies of a 1D cavity by using FDTD method
- 2011-06-16 23:21:51下载
- 积分:1
-
New-Folder
In power engineering, the power flow study (also known as load-flow study) is an important tool involving numerical analysis applied to a power system.
- 2011-07-13 23:34:08下载
- 积分:1
-
SVD-Face-Illuminatio
svd去光照文章,效果不错......................(svd de illumination parper。。。。。。。。。)
- 2015-01-14 13:04:26下载
- 积分:1
-
tianxian
绘制在收发天线间夹角不同时,天线的垂直极化三维方向图和水平极化三维方向图(Drawing the angle between the transmitting and receiving antennas is not the same, the three-dimensional antenna vertically polarized and horizontally polarized pattern dimensional pattern)
- 2014-02-15 10:08:53下载
- 积分:1
-
prec_rec
说明: 利用MATLAB所实现的ROC曲线的函数(Function of ROC curve realized by MATLAB)
- 2020-04-16 10:44:34下载
- 积分:1
-
Field_Examples
Field Ⅱ超声成像代码,可以进行单个孔径成像和合成孔径成像、加权和不加权仿真。(The calculation of point spread functions is done by placing a point in front of the transducer and then sweeping the beam over the point. This gives the point spread function of the imaging system. Field II can make this calculation for a number of points simultaneously and thereby reveal the dynamic focusing properties of the imaging system. A point phantom has been made for this purpose. It consists of a number of point targets placed with a distance of 5 mm starting at 15 mm from the transducer surface)
- 2020-12-02 09:59:26下载
- 积分:1
-
gatbx
Sheffield工具箱的简单例子,有作者修改,其中doc文件为介绍(the example of Sheffield GA)
- 2013-05-08 10:54:03下载
- 积分:1
-
a213ec5252
To construct all type of filters for the category of hamming, hanning e.t.c.
- 2014-08-25 17:37:15下载
- 积分:1
-
myGA
myGA:用基本遗传算法求解一维无约束优化问题
(myGA: basic genetic algorithm with the one-dimensional unconstrained optimization problems)
- 2013-12-08 18:32:56下载
- 积分:1