ECOCPAK v0.9
Functions
fn_kmeans.hpp File Reference

Go to the source code of this file.

Functions

template<typename T1 >
void ecocpak::kmeans (Col< u32 > &indices_out, Col< u32 > &ranks_out, Mat< typename T1::elem_type > &centroids_out, const Base< typename T1::elem_type, T1 > &X, const u32 k, const typename T1::pod_type lr=0.01)
mat ecocpak::subClasses (ucolvec &inds, ucolvec &ranks, const mat &samples)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerator Defines