Public Member Functions
vt::InitRandom Struct Reference

Initializer for K-means that randomly selects k features as the cluster centers. More...

#include <simple_kmeans.h>

List of all members.

Public Member Functions

template<class Feature , class Distance , class FeatureAllocator >
void operator() (const std::vector< Feature * > &features, size_t k, std::vector< Feature, FeatureAllocator > &centers, Distance distance)

Detailed Description

Initializer for K-means that randomly selects k features as the cluster centers.

Definition at line 206 of file simple_kmeans.h.


Member Function Documentation

template<class Feature , class Distance , class FeatureAllocator >
void vt::InitRandom::operator() ( const std::vector< Feature * > &  features,
size_t  k,
std::vector< Feature, FeatureAllocator > &  centers,
Distance  distance 
) [inline]

Definition at line 209 of file simple_kmeans.h.


The documentation for this struct was generated from the following file:


vocabulary_tree
Author(s): Patrick Mihelich
autogenerated on Thu Jan 2 2014 12:12:26