-
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-design-code
《MATLAB程序设计教程》源代码-2660为《MATLAB程序设计教程》附带全部代码(" MATLAB Programming Guide" for the source code-2660 " MATLAB Programming Guide" with all the code)
- 2011-06-29 17:11:03下载
- 积分:1
-
weekday
根据Zeller公式计算任意日期是星期几。说明一下,压缩包中有两个是复件,是用来压仓的,以确保满足上传条件(上传文件大于1K)。(weekday for any day)
- 2013-11-26 12:33:21下载
- 积分:1
-
quanxixue
用matlab来生成全息图的一个样例程序。简单实用(Using matlab to generate a sample program hologram. Simple and practical)
- 2013-12-23 15:30:15下载
- 积分:1
-
牛顿法解优化问题
说明: 使用各种牛顿法(包括普通牛顿法,拟牛顿法,阻尼牛顿法)求解优化问题(Using various Newton methods (including general Newton method, quasi Newton method, damped Newton method) to solve optimization problems)
- 2020-02-27 20:49:28下载
- 积分:1
-
k2
说明: 6QAM通过带限信道,设码元速率为1000波特,传输信道特性为滚降系数为0.75的滚升余弦频谱的滤波器,试建立测试模型并观察接收信号(等效基带信号)的眼图、星座图和相位转移轨迹图。simulink模型(6QAM through the band-limited channel, located at 1000 baud symbol rate, the transmission channel characteristics for the roll-off factor of 0.75 of spectrum raised cosine filter roll and try to create a test model and observe the received signal (the equivalent baseband signal) of the eye diagram, constellation and phase transfer trajectories. simulink model)
- 2011-06-06 08:28:40下载
- 积分:1
-
slamtb-graph
提供matlab slam工具箱,建立了EKF下的仿真(Matlab slam tool box is provided to build the EKF simulation)
- 2018-09-30 15:59:34下载
- 积分:1
-
DTC
说明: 异步电机的直接转矩控制,可以实现圆形磁链控制,绝对不坑你(The direct torque control of the asynchronous motor can realize the circular flux control, which will never hurt you)
- 2020-01-22 21:08:55下载
- 积分:1
-
trithemius
trithemius poly alphabetic key
- 2014-09-05 00:31:51下载
- 积分:1
-
ght_for_circle_matlab
MATLAB检测图像中的多个圆,并且给出此圆的坐标和半径。(detect circle)
- 2021-02-27 15:19:36下载
- 积分:1