ECOCPAK v0.9
Static Public Member Functions
ecocpak::op_kmeans Class Reference

#include <ecocpak.hpp>

Static Public Member Functions

template<typename eT >
static void direct_kmeans (Col< u32 > &indices_out, Col< u32 > &ranks, Mat< eT > &centroids_out, const Mat< eT > &in, const u32 k, const eT lr)
 K-means clustering.
template<typename eT >
static void compute_distance (Row< eT > &dist_out, u32 &winner, const Mat< eT > &centroids_in, const subview_row< eT > &sample_in)
template<typename eT >
static eT compute_distance (const subview_row< eT > &sample_in, const subview_row< eT > &centroid_in)
template<typename eT >
static void init_centroids (Mat< eT > &centroids_out, const Mat< eT > &samples_in, const u32 k)
 Initialize centroids.

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