-
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
-
huffcodemodified
alternate implementation of huffman source coder
- 2010-06-02 00:28:47下载
- 积分:1
-
dongtaidianlixitongfenxi
适用于matlab或者c++,电力专业的学生如需掌握电力知识必看的一本书(Suitable for matlab or c++, electricity majors To grasp the power of knowledge must see a book)
- 2015-04-11 15:04:58下载
- 积分:1
-
PImodel
这是一个有关PI模型系统辨识的MATLAB程序,并附有MATLAB仿真30个案例以便于学习(This is a PI model identification program)
- 2021-04-10 15:48:59下载
- 积分:1
-
isar
FRFT和线性调频信号中的子程序,FRFT中的a,也就是需要估计的角度。两个程序需要一起使用(FRFT and chirp signal subroutine, FRFT of a, is the need to estimate the angle. Both programs need to be used together)
- 2015-05-21 14:58:13下载
- 积分:1
-
Gold_codes
说明: MATLAB 开发实现的Gold_codes(Gold_codes)
- 2009-08-26 17:40:43下载
- 积分:1
-
peerpressure
peer pressure聚类算法 可以实现社会网络的简单聚类分析。(peer pressure clustering Algorithm)
- 2013-12-03 16:35:04下载
- 积分:1
-
motorsimulink
基于比例趋近率的控制器实现位置跟踪,滑模控制(the position tracking based on proportion approach )
- 2013-10-06 21:10:31下载
- 积分:1
-
matlab
无线传感器的定位与分簇,定位基于三边定位法,路径基于最短距离查询的matlab源代码。其中三个文件一个为主程序,两个子程序一个用于三边定位节点选取和定位。(And cluster localization of wireless sensor, position the three edge positioning method based on distance, shortest path query based on Matlab source code. One of the three file of a main program, two subroutines for a three edge node selection and location.)
- 2020-12-09 14:29:19下载
- 积分:1
-
XP
说明: matlab 的一个洗牌算法,调用固定区间的随机数生成,然后根据随机数序列交换位置,达到洗牌效果(Matlab call a random number generate function then exchange the numbers according to the random numbers)
- 2011-12-26 09:49:48下载
- 积分:1