jubatus_core
0.1.2
Jubatus: Online machine learning framework for distributed environment
|
#include <gmm.hpp>
Public Member Functions | |
void | batch (const eigen_wsvec_list_t &data, int d, int k) |
eigen_svec_list_t | get_centers () |
eigen_smat_list_t | get_covs () |
eigen_svec_t | get_nearest_center (const eigen_svec_t &p) const |
int64_t | get_nearest_center_index (const eigen_svec_t &p) const |
Private Member Functions | |
eigen_svec_t | cluster_probs (const eigen_svec_t &x, const eigen_svec_list_t &mean, const eigen_smat_list_t &cov, const eigen_solver_list_t &solvers) const |
void | initialize (const eigen_wsvec_list_t &data, int d, int k) |
bool | is_converged (int64_t niter, const eigen_svec_list_t &means, const eigen_svec_list_t &old_means, double obj, double old_obj) |
Private Attributes | |
eigen_solver_list_t | cov_solvers_ |
eigen_smat_list_t | covs_ |
int | d_ |
eigen_smat_t | eye_ |
int | k_ |
eigen_svec_list_t | means_ |
void jubatus::core::clustering::gmm::batch | ( | const eigen_wsvec_list_t & | data, |
int | d, | ||
int | k | ||
) |
Definition at line 40 of file gmm.cpp.
References cluster_probs(), cov_solvers_, covs_, eye_, initialize(), is_converged(), and means_.
Referenced by jubatus::core::clustering::gmm_clustering_method::batch_update().
|
private |
Definition at line 149 of file gmm.cpp.
References k_, and jubatus::core::clustering::sum().
Referenced by batch(), and get_nearest_center_index().
|
inline |
Definition at line 29 of file gmm.hpp.
References means_.
Referenced by jubatus::core::clustering::gmm_clustering_method::batch_update().
|
inline |
eigen_svec_t jubatus::core::clustering::gmm::get_nearest_center | ( | const eigen_svec_t & | p | ) | const |
Definition at line 91 of file gmm.cpp.
References get_nearest_center_index(), and means_.
Referenced by jubatus::core::clustering::gmm_clustering_method::get_nearest_center().
int64_t jubatus::core::clustering::gmm::get_nearest_center_index | ( | const eigen_svec_t & | p | ) | const |
Definition at line 95 of file gmm.cpp.
References cluster_probs(), cov_solvers_, covs_, JUBATUS_EXCEPTION, k_, and means_.
Referenced by get_nearest_center(), and jubatus::core::clustering::gmm_clustering_method::get_nearest_center_index().
|
private |
Definition at line 114 of file gmm.cpp.
References cov_solvers_, covs_, d_, eye_, k_, and means_.
Referenced by batch().
|
private |
|
private |
Definition at line 54 of file gmm.hpp.
Referenced by batch(), get_nearest_center_index(), and initialize().
|
private |
Definition at line 52 of file gmm.hpp.
Referenced by batch(), get_covs(), get_nearest_center_index(), and initialize().
|
private |
Definition at line 55 of file gmm.hpp.
Referenced by initialize().
|
private |
Definition at line 53 of file gmm.hpp.
Referenced by batch(), and initialize().
|
private |
Definition at line 56 of file gmm.hpp.
Referenced by cluster_probs(), get_nearest_center_index(), initialize(), and is_converged().
|
private |
Definition at line 51 of file gmm.hpp.
Referenced by batch(), get_centers(), get_nearest_center(), get_nearest_center_index(), and initialize().