文件名称:k_means
介绍说明--下载内容来自于网络,使用问题请自行百度
首先从n个数据对象任意选择 k 个对象作为初始聚类中心;而对于所剩下其它对象,则根据它们与这些聚类中心的相似度(距离),分别将它们分配给与其最相似的(聚类中心所代表的)聚类;然后再计算每个所获新聚类的聚类中心(该聚类中所有对象的均值);不断重复这一过程直到标准测度函数开始收敛为止。一般都采用均方差作为标准测度函数. k个聚类具有以下特点:各聚类本身尽可能的紧凑,而各聚类之间尽可能的分开。-First, a data object from the n choose k objects as initial cluster centers and for the rest of the other objects, according to their similarity with the cluster center (distance), respectively, assign them to their most similar (represented by cluster center) clustering then calculated for each cluster center received a new clustering (all objects in the cluster mean) repeats this process until the convergence criteria begin until the measure function. Standard deviation is generally used as a standard measure function. K a cluster has the following characteristics: the cluster itself as a compact, but separated as much as possible between each cluster.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
k_means.m
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
