-
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
-
incercare2
incercare deoi este ceva
- 2013-03-20 06:03:12下载
- 积分:1
-
PV_modele4
PHOTOVOLTAIC MODELISATION WITH SIMULINK
- 2013-11-06 20:59:45下载
- 积分:1
-
FOA-on-pid-tuning
先进搜索算法应用在PID整定上,以果蝇算法为例(Advanced search algorithm on PID Tuning,use FOA as an example)
- 2020-06-26 23:40:02下载
- 积分:1
-
Jordan
Jordan消去法,用matlab编写的。可以用作初学者学习用。(Jordan elimination method, using matlab prepared. Can be used for beginners to learn to use.)
- 2011-05-07 15:34:13下载
- 积分:1
-
music1
幅相误差下的doa估计,本人编写,绝对可用(Amplitude and phase error estimates under the doa, I write, absolutely free)
- 2011-06-07 19:33:22下载
- 积分:1
-
14-23
ANFIS based Wind Speed Sensor-less MPPT Controller for Variable Speed Wind Energy Conversion Systems
- 2015-03-07 03:18:42下载
- 积分:1
-
00687992LDPC
说明: LDPC的编码和译码程序 采用vc及matlab(LDPC coding and decoding process, and matlab using vc)
- 2011-04-06 10:41:57下载
- 积分:1
-
Demo_CS_BP
压缩感知中基追踪重构方法,用于稀疏信号的重构,本程序用于图像重构(Based tracking in compressed sensing reconstruction methods for sparse signal reconstruction, the procedure used for image reconstruction)
- 2011-06-03 15:43:22下载
- 积分:1
-
histogram
在matlab中实现直方图均衡化操作及直方图匹配操作,自编代码实现运算(Histogram equalization and histogram match.)
- 2013-09-21 08:55:45下载
- 积分:1