-
NewK-means-clustering-algorithm
说明: 珍藏版,可实现,新K均值聚类算法,分为如下几个步骤:
一、初始化聚类中心
1、根据具体问题,凭经验从样本集中选出C个比较合适的样本作为初始聚类中心。
2、用前C个样本作为初始聚类中心。
3、将全部样本随机地分成C类,计算每类的样本均值,将样本均值作为初始聚类中心。
二、初始聚类
1、按就近原则将样本归入各聚类中心所代表的类中。
2、取一样本,将其归入与其最近的聚类中心的那一类中,重新计算样本均值,更新聚类中心。然后取下一样本,重复操作,直至所有样本归入相应类中。
三、判断聚类是否合理
采用误差平方和准则函数判断聚类是否合理,不合理则修改分类。循环进行判断、修改直至达到算法终止条件。(NewK-means clustering algorithm ,Divided into the following several steps:
A, initialize clustering center
1, according to the specific problems, from samples with experience selected C a more appropriate focus the sample as the initial clustering center.
2, with former C a sample as the initial clustering center.
3, will all samples randomly divided into C, calculate the sample mean, each the sample mean as the initial clustering center.
Second, initial clustering
1, according to the sample into the nearest principle clustering center represents the class.
2, as this, take the its recent as clustering center of that category, recount the sample mean, update clustering center. And then taking off, as this, repeated operation until all samples into the corresponding class.
Three, judge clustering is reasonable
Adopt error squares principles function cluster analysis.after clustering whether reasonable, no reasonable criterion revisio)
- 2011-04-06 20:45:56下载
- 积分:1
-
diktat-gabungan-matlab
matlab tutorial berbahasa indonesia
- 2013-09-07 05:34:24下载
- 积分:1
-
gauss
列主消元法 (Out the main method of elimination)
- 2011-10-25 19:53:52下载
- 积分:1
-
backtrack1
This function implements brute force bactracking to solve
the knapsack problem.
- 2009-03-05 01:26:42下载
- 积分:1
-
yiweishangseg_lj
一维最大熵图像分割算法的MATLAB实现源代码(the matlab code for degital image segment)
- 2012-05-05 16:02:19下载
- 积分:1
-
Matlab_plot
matlab 中画图型,各种曲线图等的命令与方法,有代码示例(matlab plot study)
- 2011-12-03 10:43:37下载
- 积分:1
-
Kalman-Filter
简单的,易懂的卡尔曼滤波程序的matlab实现程序。(Simple, straightforward Kalman filter matlab program implementation process.)
- 2011-11-24 14:34:30下载
- 积分:1
-
shiliangkongzhidq
说明: 这是双馈电机的矢量调制方法的仿真,仿真效果还可以。(This is doubly-fed vector modulation method of simulation, the simulation results can also.)
- 2010-04-27 20:35:11下载
- 积分:1
-
morphimage
i need some help to apple this code
- 2014-12-22 09:17:55下载
- 积分:1
-
DynamicPAnalysisPofPthePDoublyPFedPInductionPGene
Dynamic analysis of the doubly feed induction generator
- 2015-03-26 02:33:14下载
- 积分:1