K-Means算法是最古老也是应用最广泛的聚类算法,它使用质心定义原型,质心是一组点的均值,通常该算法用于n维连续空间中的对象。 K-Means算法流程 step1:选择K个点作为初始质心 step2:repeat 将每个点指派到最近的质心,形成K个簇 重新计算每个簇的质心 until 质心不在变化 例如下图的样本集,初始选择是三个质心比较集中,但是迭代3次之后,质心趋于稳定,并将样本集分为3部分 我们对每一个步骤都进行分析 step1:选择K个点作为初始质心 这一步首先要知道K的值,也就是说K是手动设置的,而不是像EM算法那样自动聚类成n个簇 其次,如何选择初始质心 最简单的方式无异于,随机选取质心了,然后多次运行,取效果最好的那个结果。这个方法,简单但不见得有效,有很大的可能是得到局部最优。 另一种复杂的方式是,随机选取一个质心,然后计算离这个质心最远的样本点,对于每个后继质心都选取已经选取过的质心的最远点。使用这种方式,可以确保质心是随机的,并且是散开的。 step2:repeat 将每个点指派到最近的质心,形成K个簇 重新计算每个簇的质心 until 质心不在变化 如何定义最近的概念,对于欧式空间中的点,可以使用欧式空间,对于文档可以用余弦相似性等等。对于给定的数据,可能适应与多种合适的邻近性度量。
上传时间: 2018-11-27
上传用户:1159474180
《统计学习方法》是2012年清华大学出版社出版的图书,作者是李航。本书全面系统地介绍了统计学习的主要方法,适用于高等院校文本数据挖掘、信息检索及自然语言处理等专业的大学生、研究生,也可供从事计算机应用相关专业的研发人员参考。
标签: 统计 NLP Data Science
上传时间: 2018-12-05
上传用户:hhhijk
JLINK-4.40A驱动,在keil5需要的STM芯片驱动软件
上传时间: 2019-03-29
上传用户:2678459203
1991年1月,在电子展上出现了NES版SimCity的原型。之后它再也没有出现 - 几个月后它出现在sfc上 - 但是视频游戏历史学家已经追踪了之前未被发现的版本,并将其上传到互联网上供所有人查看。
上传时间: 2019-04-11
上传用户:bzxgcs
1.31,IAR,for,STM8 亲测可用,非常好用
上传时间: 2019-09-16
上传用户:394511647
Matlab自带统计模型数据,可用来进行仿真分析
上传时间: 2020-03-11
上传用户:胡梦meng
cy7c1061datasheet,ram存储
上传时间: 2020-04-20
上传用户:342683601@qq.com
Theartofcomputationofelectromagnetic(EM)problemshasgrownexponentially for three decades due to the availability of powerful computer resources. In spite of this, the EM community has suffered without a suitable text on the computational techniques commonly used in solving EM-related problems. Although there have been monographs on one particular technique or another, the monographs are written for the experts rather than students. Only a few texts cover the major techniques and dothatinamannersuitableforclassroomuse.Itseemsexpertsinthisareaarefamiliar with one or a few techniques but not many seem to be familiar with all the common techniques. This text attempts to fill that gap.
标签: Electromagnetics Techniques Numerical in
上传时间: 2020-05-31
上传用户:shancjb
In the present era, low observability is one of the critical requirements in aerospace sector, especially related to defense. The stealth technology essentially relates to shaping and usage of radar absorbing materials (RAM) or radar absorbing struc- tures (RAS). The performance of such radar cross section (RCS) reduction tech- niques is limited by the bandwidth constraints, payload requirements, and other structural issues. Moreover, with advancement of materials science, the structure geometry no longer remains key decisive factor toward stealth.
标签: Fundamentals Design Radar of EM
上传时间: 2020-06-06
上传用户:shancjb
stm8封装库 ,有stm的PCB封装,大家可以下载哦。省时间
上传时间: 2020-10-15
上传用户: