-
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
-
matlab_statistic
matlab模型大全,金融统计/统计专业必备材料,包括非常完整的讲解及例题,如回归分析及各类参数分析等。(matlab model Guinness, financial statistics/statistical expertise necessary materials, including a very complete explanation and examples, such as regression analysis and analysis of various parameters.)
- 2013-11-17 22:42:11下载
- 积分:1
-
Entropy_Max_2D
用于实现灰度图像阈值分割的二维最大熵方法,很好用,希望对大家有帮助。(Used to achieve gray image threshold segmentation of the two-dimensional maximum entropy method, matlab source.)
- 2009-04-17 12:48:41下载
- 积分:1
-
ninewton
牛顿迭代法求解线性方程,其收敛阶数为1次(newton iteration for liear equation)
- 2009-11-18 21:22:48下载
- 积分:1
-
GAOT5
遗传算法原理及其MATLAB实现,有需要的就下载吧,很不错的matlab工具箱应用,很实用(MATLAB Genetic Algorithms and their realization on the need to download it, it is a good toolbox matlab application, it is practical)
- 2009-05-16 10:12:05下载
- 积分:1
-
JPEG
JPEG 仿真 在Matlab7 上运行,效果最佳(The code of JPEG.If some one want using it,please download。)
- 2011-05-24 17:47:03下载
- 积分:1
-
es_cogenerazione
example cogeneration with penalty function
- 2011-06-24 17:00:53下载
- 积分:1
-
OFDM-blind-receiver
OFDM盲识别仿真的接收端,对OFDM信号进行符号持续时间,循环长度和子载波数量的估计(OFDM blind identification, simulation of the receiving end of OFDM signal symbol duration, cycle length and the subcarrier number of estimates)
- 2020-11-05 00:29:51下载
- 积分:1
-
Power_Algorithm
implement the Power Al-
gorithm for the computation of themaximumeigenvalue of Aj . Write a function Power_Algorithm
which takes as input A q (the initial approximation of the eigenvector) and scale (it was
given as in the lectures).
- 2013-07-24 09:20:51下载
- 积分:1
-
hartley_affine-code
四元数Hartley仿射变换。对研究四元数Hartley仿射变换的不变性有帮助(quaternion hartley affine transform~~)
- 2013-03-23 10:14:00下载
- 积分:1