-
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
-
3rd1
基于牛顿拉夫逊法的电力系统潮流计算从c语言程序(Newton Raphson based power flow calculated from the c language program)
- 2011-05-28 19:41:50下载
- 积分:1
-
SimWindSystem
风电场建模与仿真。包括风速、机组等模块的建模,机组是双馈风力发电机组,可运行可调试。(Modeling and simulation of wind farms. Modeling including wind speed, units and other modules, the unit is a double-fed wind turbine can run debug.)
- 2014-02-16 10:20:06下载
- 积分:1
-
ctrllab3.0
在Matlab环境下的控制仿真学习软件(control simulation toos for college student)(control simulation toos for college student)
- 2010-08-11 16:30:21下载
- 积分:1
-
matlab-wl
一些使用的MATLAB例子的程序代码,如利立体透视,弹出菜单等(some of MATLAB code examples, such as the three-dimensional perspective Lee, pop-up menus, etc.)
- 2006-07-10 12:41:26下载
- 积分:1
-
Code
ga binary code that consist three file: main ga code,cost and selection code
- 2013-12-31 04:28:50下载
- 积分:1
-
mxul
m序列发生器,可以产生63位m序列,可以产生63位m序列,(m sequence generator, can produce 63 m sequence, can produce 63 m sequence,)
- 2009-02-20 20:42:30下载
- 积分:1
-
遗传算法的matlab APP实现
说明: 利用matlab自带工具箱实现遗传算法,在具体应用时不必编写较长的代码(Using Matlab toolbox to realize genetic algorithm)
- 2021-04-25 09:16:29下载
- 积分:1
-
wavedec2
小波阈值消噪程序,能量谱分析,希望能帮助大家(Wavelet threshold denoising procedures, energy spectrum analysis, we hope to help)
- 2013-01-19 22:07:09下载
- 积分:1
-
Matlab--Simulink--and-a-Communications-Example
Matlab, Simulink, and a Communications Example
- 2014-10-27 19:24:10下载
- 积分:1