jubatus_core
0.1.2
Jubatus: Online machine learning framework for distributed environment
|
Namespaces | |
compressor | |
Classes | |
class | clustering |
struct | clustering_config |
class | clustering_error |
class | clustering_method |
class | clustering_method_factory |
class | compressive_storage |
class | discrete_distribution |
class | eigen_feature_mapper |
struct | eigen_wsvec_t |
class | event_dispatcher |
class | gmm |
class | gmm_clustering_method |
class | kmeans_clustering_method |
class | simple_storage |
class | storage |
class | storage_factory |
struct | weighted_point |
Typedefs | |
typedef std::vector< cluster_unit > | cluster_set |
typedef std::vector< std::pair< cluster_weight, jubatus::core::fv_converter::datum > > | cluster_unit |
typedef double | cluster_weight |
typedef std::vector< std::pair< std::string, wplist > > | diff_t |
typedef std::vector< eigen_smat_t > | eigen_smat_list_t |
typedef Eigen::SparseMatrix< double > | eigen_smat_t |
typedef std::vector< jubatus::util::lang::shared_ptr< eigen_solver_t > > | eigen_solver_list_t |
typedef Eigen::SimplicialCholesky< eigen_smat_t > | eigen_solver_t |
typedef std::vector< eigen_svec_t > | eigen_svec_list_t |
typedef Eigen::SparseVector< double > | eigen_svec_t |
typedef std::vector< eigen_wsvec_t > | eigen_wsvec_list_t |
typedef framework::linear_mixable_helper< storage, diff_t > | mixable_storage |
typedef std::vector< common::sfv_t > | plist |
typedef std::vector< weighted_point > | wplist |
Enumerations | |
enum | storage_event_type { REVISION_CHANGE, UPDATE } |
Functions | |
common::sfv_t | add (const common::sfv_t &p1, const common::sfv_t &p2) |
void | concat (const wplist &src, wplist &dst) |
char | digit (int num, int r, int n) |
double | dist (const common::sfv_t &p1, const common::sfv_t &p2) |
double | dist (const weighted_point &d1, const weighted_point &d2) |
void | dump_wplist (const wplist &src) |
weighted_point | get_point (size_t d) |
weighted_point | get_point (size_t d, const std::vector< double > &c) |
std::vector< weighted_point > | get_points (size_t n, size_t d) |
std::vector< weighted_point > | get_points (size_t n, size_t d, const std::vector< double > &c) |
std::pair< size_t, double > | min_dist (const common::sfv_t &p, const std::vector< common::sfv_t > &P) |
pair< size_t, double > | min_dist (const common::sfv_t &p, const vector< common::sfv_t > &P) |
std::pair< size_t, double > | min_dist (const weighted_point &d1, const wplist &P) |
common::sfv_t | scalar_dot (const common::sfv_t &p, double s) |
void | scalar_mul_and_add (const common::sfv_t &left, float s, common::sfv_t &right) |
common::sfv_t | sub (const common::sfv_t &p1, const common::sfv_t &p2) |
double | sum (const common::sfv_t &p) |
double | sum2 (const common::sfv_t &p) |
void | swap (weighted_point &p1, weighted_point &p2) |
typedef std::vector<cluster_unit> jubatus::core::clustering::cluster_set |
typedef std::vector<std::pair<cluster_weight, jubatus::core::fv_converter::datum> > jubatus::core::clustering::cluster_unit |
typedef double jubatus::core::clustering::cluster_weight |
typedef std::vector<std::pair<std::string, wplist> > jubatus::core::clustering::diff_t |
typedef std::vector<eigen_smat_t> jubatus::core::clustering::eigen_smat_list_t |
Definition at line 33 of file gmm_types.hpp.
typedef Eigen::SparseMatrix<double> jubatus::core::clustering::eigen_smat_t |
Definition at line 30 of file gmm_types.hpp.
typedef std::vector<jubatus::util::lang::shared_ptr<eigen_solver_t> > jubatus::core::clustering::eigen_solver_list_t |
Definition at line 35 of file gmm_types.hpp.
typedef Eigen::SimplicialCholesky<eigen_smat_t> jubatus::core::clustering::eigen_solver_t |
Definition at line 31 of file gmm_types.hpp.
typedef std::vector<eigen_svec_t> jubatus::core::clustering::eigen_svec_list_t |
Definition at line 32 of file gmm_types.hpp.
typedef Eigen::SparseVector<double> jubatus::core::clustering::eigen_svec_t |
Definition at line 29 of file gmm_types.hpp.
typedef std::vector<eigen_wsvec_t> jubatus::core::clustering::eigen_wsvec_list_t |
Definition at line 42 of file gmm_types.hpp.
typedef framework::linear_mixable_helper<storage, diff_t> jubatus::core::clustering::mixable_storage |
Definition at line 79 of file storage.hpp.
typedef std::vector<common::sfv_t> jubatus::core::clustering::plist |
typedef std::vector<weighted_point> jubatus::core::clustering::wplist |
Enumerator | |
---|---|
REVISION_CHANGE | |
UPDATE |
Definition at line 34 of file storage.hpp.
common::sfv_t jubatus::core::clustering::add | ( | const common::sfv_t & | p1, |
const common::sfv_t & | p2 | ||
) |
Definition at line 89 of file util.cpp.
Definition at line 33 of file util.cpp.
Referenced by jubatus::core::clustering::compressive_storage::carry_up(), jubatus::core::clustering::compressor::kmeans_compressor::compress(), jubatus::core::clustering::storage::get_all(), jubatus::core::clustering::storage::get_common(), and jubatus::core::clustering::compressive_storage::get_mine().
char jubatus::core::clustering::digit | ( | int | num, |
int | r, | ||
int | n | ||
) |
Definition at line 37 of file util.cpp.
Referenced by jubatus::core::clustering::compressive_storage::is_next_bucket_full().
double jubatus::core::clustering::dist | ( | const common::sfv_t & | p1, |
const common::sfv_t & | p2 | ||
) |
Definition at line 151 of file util.cpp.
Referenced by dist(), jubatus::core::clustering::kmeans_clustering_method::do_batch_update(), jubatus::core::graph::graph_wo_index::get_diff_eigen_score(), jubatus::core::storage::lsh_index_storage::get_sorted_similar_rows(), jubatus::core::storage::lsh_probe_generator::init(), min_dist(), jubatus::core::nearest_neighbor::ranking_hamming_bit_vectors(), and jubatus::core::graph::graph_wo_index::update_spt_node().
double jubatus::core::clustering::dist | ( | const weighted_point & | d1, |
const weighted_point & | d2 | ||
) |
Definition at line 178 of file util.cpp.
References jubatus::core::clustering::weighted_point::data, and dist().
void jubatus::core::clustering::dump_wplist | ( | const wplist & | src | ) |
|
inline |
Definition at line 38 of file testutil.hpp.
References jubatus::core::clustering::weighted_point::data, and jubatus::core::clustering::weighted_point::weight.
Referenced by get_points().
|
inline |
Definition at line 49 of file testutil.hpp.
References jubatus::core::clustering::weighted_point::data, and jubatus::core::clustering::weighted_point::weight.
|
inline |
Definition at line 61 of file testutil.hpp.
References get_point().
|
inline |
Definition at line 69 of file testutil.hpp.
References get_point().
std::pair<size_t, double> jubatus::core::clustering::min_dist | ( | const common::sfv_t & | p, |
const std::vector< common::sfv_t > & | P | ||
) |
pair<size_t, double> jubatus::core::clustering::min_dist | ( | const common::sfv_t & | p, |
const vector< common::sfv_t > & | P | ||
) |
Definition at line 182 of file util.cpp.
References dist().
Referenced by jubatus::core::clustering::compressor::kmeans_compressor::bicriteria_to_coreset(), jubatus::core::clustering::kmeans_clustering_method::do_batch_update(), jubatus::core::clustering::compressor::kmeans_compressor::get_bicriteria(), jubatus::core::clustering::kmeans_clustering_method::get_clusters(), jubatus::core::clustering::kmeans_clustering_method::get_nearest_center_index(), and jubatus::core::clustering::kmeans_clustering_method::initialize_centers().
std::pair< size_t, double > jubatus::core::clustering::min_dist | ( | const weighted_point & | d1, |
const wplist & | P | ||
) |
Definition at line 198 of file util.cpp.
References dist().
common::sfv_t jubatus::core::clustering::scalar_dot | ( | const common::sfv_t & | p, |
double | s | ||
) |
Definition at line 143 of file util.cpp.
Referenced by jubatus::core::clustering::kmeans_clustering_method::do_batch_update().
void jubatus::core::clustering::scalar_mul_and_add | ( | const common::sfv_t & | left, |
float | s, | ||
common::sfv_t & | right | ||
) |
Definition at line 62 of file util.cpp.
Referenced by jubatus::core::clustering::kmeans_clustering_method::do_batch_update().
common::sfv_t jubatus::core::clustering::sub | ( | const common::sfv_t & | p1, |
const common::sfv_t & | p2 | ||
) |
Definition at line 116 of file util.cpp.
double jubatus::core::clustering::sum | ( | const common::sfv_t & | p | ) |
Definition at line 47 of file util.cpp.
Referenced by jubatus::core::clustering::gmm::cluster_probs(), and jubatus::core::storage::feature_fabssum().
double jubatus::core::clustering::sum2 | ( | const common::sfv_t & | p | ) |
|
inline |
Definition at line 47 of file types.hpp.
References jubatus::core::clustering::weighted_point::data, jubatus::core::fv_converter::datum::num_values_, jubatus::core::clustering::weighted_point::original, jubatus::core::fv_converter::datum::string_values_, and jubatus::core::clustering::weighted_point::weight.
Referenced by jubatus::core::recommender::lsh::clear(), jubatus::core::fv_converter::counter< std::string >::clear(), jubatus::core::recommender::euclid_lsh::clear(), jubatus::core::anomaly::light_lof::collect_lrds(), jubatus::core::storage::column_table::delete_row_(), jubatus::core::framework::linear_function_mixer::put_diff(), jubatus::core::storage::typed_column< T >::remove(), jubatus::core::graph::graph_wo_index::remove_by_swap(), jubatus::core::burst::basic_window< batch_result >::swap(), jubatus::core::storage::column_type::swap(), and jubatus::core::storage::bit_vector_base< uint64_t >::swap().