-
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
-
atividade1
Crossover fron generic algorithm, matlab
- 2013-07-30 23:41:03下载
- 积分:1
-
Quire
QUIRE算法用于主动学习,通过信息询问和代表样本来实现。(QUIRE is a package for active learning by querying informative and representative examples. )
- 2012-02-13 13:12:32下载
- 积分:1
-
20111115170913143
《有限单元法基础及matlab编程》一书中的源程序(The source program in the book "Finite element method and MATLAB programming")
- 2017-09-26 08:42:34下载
- 积分:1
-
FDTDtwodimension
FDTD的MATLAB代码,二维成像模型(FDTD MATLAB)
- 2014-10-19 16:17:59下载
- 积分:1
-
subspec_magic
谱减法语音增强算法MATLAB源程序,简单有效(Spectral subtraction speech enhancement algorithm for MATLAB source code, simple and effective)
- 2011-04-20 12:38:07下载
- 积分:1
-
gui18
界面响应鼠标事件,左键或者右键单击,移动,双击(Interface response mouse events, the left key or right-click, move, double click)
- 2012-04-06 16:35:09下载
- 积分:1
-
TSP
解决背包问题 自动求解最大价值 利益最大化问题(Automatically solve the Knapsack Problem to maximize the interests of maximizing the value of solving the problem)
- 2009-04-20 23:24:10下载
- 积分:1
-
Tabu_search_TSP
Tabu Search Traveling Salesman Problem
- 2012-05-02 21:00:14下载
- 积分:1
-
Optical-path-length-ratio
不同光程比值对色散关系的影响,光子晶体中光程的比值定义为高低折射率所对应的光程的比值,计算公式为定义为
(Effects of different length ratio on the dispersion relation)
- 2013-05-04 21:28:56下载
- 积分:1