-
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
-
raised_cosine_filter
Root raised cosine filter implementation in matlab, with graphs of impulse and frequency response.
- 2011-11-04 20:13:20下载
- 积分:1
-
hetnet
一个异构网络实现仿真的matlab源码实现(Matlab source implementation of a heterogeneous network simulation)
- 2021-04-15 15:48:54下载
- 积分:1
-
MatLab-math-apply
Matlab 数学工程应用,对想用matlab编程的人是一个非常好的东东(matlab math project apply)
- 2011-11-07 13:49:35下载
- 积分:1
-
FaceRec
通过预建的人脸图像库,实现人脸识别的matlab程序。(By pre-built library of face images, face recognition matlab program.)
- 2013-11-22 14:45:50下载
- 积分:1
-
LFM1
matlab 自适应LFM源程序,有仿真图形,非常好。(matlab adaptive LFM source, a simulation of graphics, very good.)
- 2008-06-25 14:30:46下载
- 积分:1
-
suanfa-pdf
说明: 数学建模算法全收录,囊括了常用的基本算法,很是实用,推荐给大家(mathematical modeling algorithm, commonly used to include the basic algorithm, it is useful to recommend to everyone)
- 2009-08-18 10:36:18下载
- 积分:1
-
GeodesicActiveContour
GAC模型代码,很好的matlab代码,希望大家多多分享(GAC model code, good code matlab)
- 2011-05-06 13:18:41下载
- 积分:1
-
peak
一种多峰寻峰,峰宽检测算法,通用型代码,可用于光谱检测,核信号分析等多种场合。(AUTO PEAK FINDER & ANALYSER
Automatically finds major peaks, their locations, fwhms
and area in a given signal y versus x. The output is
a matrix with peaks sorted in rows and following columns:)
- 2020-12-21 10:19:07下载
- 积分:1
-
NN
说明: 最近邻航迹关联算法,用于目标跟踪,演示程序包括整个跟踪全过程(NN Data Association)
- 2011-10-05 11:52:49下载
- 积分:1