-
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
-
TSP
TSP问题蚁群算法通用MATLAB源程序(TSP problem ant colony algorithm universal MATLAB source)
- 2013-01-10 17:57:04下载
- 积分:1
-
satglobe
satellite globe visualization earth
- 2014-01-28 05:16:35下载
- 积分:1
-
drive_4wd_dynamics
四轮驱动的混合动力车辆仿真的Simulink模型,(Simulink Model for HEV)
- 2009-12-26 09:27:21下载
- 积分:1
-
psi
说明: 移相干涉求相位,既求出基于相位偏移干涉术的初始相位值(Phase-shifting interference requirements phase, not only find the phase shift interferometry based on the initial phase value)
- 2010-04-04 22:00:26下载
- 积分:1
-
lubiaolabjiance
说明: 具有自检测功能的交通路标识别系统代码。能自动识别常见的交通标志,检测道路信息。(Self-detection of traffic signs recognition system code. Can automatically identify common traffic signs, road information detected.)
- 2011-03-19 16:15:25下载
- 积分:1
-
6种随机共振程序
Stochastic resonance,SR)的概念最初是由Benzi等人提出并用于解释第四纪冰川问题,此后用于描述一种现象──非线性系统中内噪声或外噪声的存在可以增加系统输出的响应。这里一共有在网上下载的一共7种不同的程序,供大家分析参考(The concept of Stochastic resonance (SR) was first proposed by Benzi et al. And used to explain Quaternary glaciation. After that, it is used to describe a phenomenon -- the presence of internal noise or external noise in nonlinear system can increase the response of the system output. There are a total of 7 different programs available for download on the Internet for people to analyze and refer to)
- 2020-10-13 10:47:31下载
- 积分:1
-
saoleimatlabgame8
matlab编写的扫雷的仿真游戏
可实现基本的游戏功能
对初学MATLAN者来说是一个不错的练手小例程(matlab simulation game written in de-mining can realize the basic set of gaming features for beginners MATLAN who is a nice little routine practice hand)
- 2009-09-10 10:53:13下载
- 积分:1
-
5902930-Computer-Graphics
computer graphics on matlab
- 2010-12-14 19:10:38下载
- 积分:1
-
mengtekaluofaqiupi
说明: 蒙特卡洛求pi,非常简单的求pi值的代码源(Monte Carlo for pi, a very simple code for the source of the value of pi)
- 2009-08-09 17:07:17下载
- 积分:1