-
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
-
sam_frequency
说明: 我的matlab小作业,请各位同行多多指教(my Matlab small operations, please peer exhibitions)
- 2006-04-04 10:40:31下载
- 积分:1
-
basketball_matlab
用matlab模拟了投篮,可以自行选择角度,力度,可以模拟篮球打到篮筐时的弹跳,效果很炫(Matlab simulation shooting, you can choose the angle, intensity, and can simulate the bouncing basketball hit the rim shining effect)
- 2012-09-04 20:42:58下载
- 积分:1
-
steg
stegnography data hiding in image.
- 2013-11-27 08:54:59下载
- 积分:1
-
SHAN_ENERGY
CW脉冲信号的检测,基于频域上的能量检测法,该方法实现实时检测。(CW pulse signal detection, based on the frequency domain energy detection method, the method to achieve real-time detection.)
- 2016-12-14 10:29:40下载
- 积分:1
-
kalmanfilteringtheoryandpracticeusingmatlab
kalman filtering theory and practice using matlab
- 2010-09-24 23:23:37下载
- 积分:1
-
MATLAB-lina
说明: 图像处理应用。对LINA图的直方图提取等(Image processing applications. Histogram graph of extraction LINA)
- 2011-03-18 08:40:08下载
- 积分:1
-
ASK-FSK-PSK
基于决策论的数字通信信号的调制识别 2ASK 4ASK 2FSK 4FSK 2PSK 4PSK(2ASK 4ASK 2FSK 4FSK 2PSK 4PSK)
- 2021-04-23 18:48:47下载
- 积分:1
-
ode_dsolve
this code is a matlab ode and dsolve function use example and compare
- 2012-04-24 15:15:45下载
- 积分:1
-
liangan
机械方面基于matlab的连杆分析程序,凸轮设计程序(Mechanical matlab-based linkage analysis program, the cam design program)
- 2012-07-25 19:03:46下载
- 积分:1