SHOGUN  4.1.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
所有成员列表 | 静态 Public 成员函数
CKMeansLloydImpl类 参考

详细描述

Implementation class for the standard KMeans algorithm.

在文件 KMeansLloydImpl.h23 行定义.

静态 Public 成员函数

static void Lloyd_KMeans (int32_t k, CDistance *distance, int32_t max_iter, SGMatrix< float64_t > mus, SGVector< int32_t > ClList, SGVector< float64_t > weights_set, bool fixed_centers)
 

成员函数说明

void Lloyd_KMeans ( int32_t  k,
CDistance distance,
int32_t  max_iter,
SGMatrix< float64_t mus,
SGVector< int32_t >  ClList,
SGVector< float64_t weights_set,
bool  fixed_centers 
)
static

Lloyd's KMeans training method

参数
kparameter k
distancedistance
max_itermax iterations allowed
muscluster centers matrix (k columns)
ClListcluster number each data vector belongs (size no_of_vectors)
weights_setno. of points belonging to each cluster (size k)
fixed_centerskeep centers fixed or not

在文件 KMeansLloydImpl.cpp20 行定义.


该类的文档由以下文件生成:

SHOGUN 机器学习工具包 - 项目文档