-
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
-
blood-pressure
血压监测程序,用于监测血压的MATLAB程序,里面含有去白噪声程序和不去白噪声程序(Blood pressure monitoring program, the MATLAB program used to monitor blood pressure, which contain to the white noise process and not white noise process)
- 2012-07-22 17:27:36下载
- 积分:1
-
PMLgongxing
2D共型网格的FDTD程序, matlab程序(2D common type grid FDTD program, matlab program)
- 2012-11-09 01:55:20下载
- 积分:1
-
FBS
基于carsim的ABS simulink模型,采用PID控制,具有自动道路识别功能。
- 2015-04-27 16:41:12下载
- 积分:1
-
PFC-BOOST-CONVERTER-OPENLOOP
This is the matlab model of Boost converter supplied with Rectified ac source
- 2014-09-03 14:49:57下载
- 积分:1
-
PAM_QPSK_System_BER_Simulation
QPSK的误码率仿真和瑞利信道在AWGN下的仿真。(QPSK BER simulation and Rayleigh channel simulation in AWGN' s.)
- 2014-12-12 21:01:14下载
- 积分:1
-
MATLAB
vi du cho thuc hanh matlab
- 2013-04-07 19:53:30下载
- 积分:1
-
42393210-s7033
a good docs about an electrobiological signal traitment and processing
it describ a wavelette method and the time frequency traitment
- 2015-02-21 04:24:53下载
- 积分:1
-
潮流计算matlab代码
基于3个节点的闭式网络的牛顿拉夫逊迭代法(Newton Ralph Xun Diedefa based on closed network of 3 nodes)
- 2021-01-10 11:58:50下载
- 积分:1
-
TMz_with_different_PMLs
FDTD TMz_with_different_PMLs
- 2009-05-27 14:29:13下载
- 积分:1