ECOCPAK v0.9
|
Functions | |
template<typename T1 > | |
void | ecocpak::kmeans (Col< u32 > &indices_out, Col< u32 > &ranks_out, Mat< typename T1::elem_type > ¢roids_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) |
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 |
||
) | [inline] |
mat ecocpak::subClasses | ( | ucolvec & | inds, |
ucolvec & | ranks, | ||
const mat & | samples | ||
) |