SHOGUN  v3.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions
CKMeansLloydImpl Class Reference

Detailed Description

Definition at line 21 of file KMeansLloydImpl.h.

List of all members.

Static Public Member Functions

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)

Member Function Documentation

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

Parameters:
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

Definition at line 20 of file KMeansLloydImpl.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation