jubatus_core
0.1.2
Jubatus: Online machine learning framework for distributed environment
|
#include <mixable_versioned_table.hpp>
Public Types | |
typedef jubatus::util::lang::shared_ptr< storage::column_table > | model_ptr |
Public Member Functions | |
void | clear () |
framework::diff_object | convert_diff_object (const msgpack::object &) const |
void | get_argument (framework::packer &pk) const |
void | get_diff (framework::packer &) const |
model_ptr | get_model () const |
storage::version | get_version () const |
void | mix (const msgpack::object &obj, framework::diff_object) const |
void | pull (const msgpack::object &arg, framework::packer &pk) const |
void | push (const msgpack::object &diff) |
bool | put_diff (const framework::diff_object &obj) |
void | set_model (model_ptr m) |
void | set_unlearner (jubatus::util::lang::shared_ptr< unlearner::unlearner_base > unlearner) |
Public Member Functions inherited from jubatus::core::framework::push_mixable | |
push_mixable () | |
virtual | ~push_mixable () |
Public Member Functions inherited from jubatus::core::framework::mixable | |
mixable () | |
mixable (const std::string &name) | |
virtual std::set< std::string > | mixables () const |
virtual | ~mixable () |
Public Member Functions inherited from jubatus::core::framework::linear_mixable | |
linear_mixable () | |
virtual | ~linear_mixable () |
Private Member Functions | |
void | pull_impl (const version_clock &vc, framework::packer &) const |
void | push_impl (const msgpack::object &) |
void | update_version (const storage::column_table::version_t &version) |
Private Attributes | |
model_ptr | model_ |
jubatus::util::lang::shared_ptr< unlearner::unlearner_base > | unlearner_ |
version_clock | vc_ |
Additional Inherited Members | |
Protected Attributes inherited from jubatus::core::framework::mixable | |
std::set< std::string > | mixables_ |
Definition at line 35 of file mixable_versioned_table.hpp.
typedef jubatus::util::lang::shared_ptr<storage::column_table> jubatus::core::framework::mixable_versioned_table::model_ptr |
Definition at line 38 of file mixable_versioned_table.hpp.
|
inline |
Definition at line 68 of file mixable_versioned_table.hpp.
|
virtual |
Implements jubatus::core::framework::linear_mixable.
Definition at line 60 of file mixable_versioned_table.cpp.
References JUBATUS_EXCEPTION.
|
virtual |
Implements jubatus::core::framework::push_mixable.
Definition at line 139 of file mixable_versioned_table.cpp.
References vc_.
|
virtual |
Implements jubatus::core::framework::linear_mixable.
Definition at line 80 of file mixable_versioned_table.cpp.
References pull_impl(), and vc_.
|
inline |
Definition at line 64 of file mixable_versioned_table.hpp.
References model_.
Referenced by pull_impl(), and push_impl().
|
inlinevirtual |
Reimplemented from jubatus::core::framework::mixable.
Definition at line 56 of file mixable_versioned_table.hpp.
|
virtual |
Implements jubatus::core::framework::linear_mixable.
Definition at line 109 of file mixable_versioned_table.cpp.
References JUBATUS_EXCEPTION.
|
virtual |
Implements jubatus::core::framework::push_mixable.
Definition at line 143 of file mixable_versioned_table.cpp.
References pull_impl().
|
private |
Definition at line 155 of file mixable_versioned_table.cpp.
References get_model().
Referenced by get_diff(), and pull().
|
virtual |
Implements jubatus::core::framework::push_mixable.
Definition at line 151 of file mixable_versioned_table.cpp.
References push_impl().
|
private |
Definition at line 180 of file mixable_versioned_table.cpp.
References get_model(), JUBATUS_EXCEPTION, and update_version().
Referenced by push(), and put_diff().
|
virtual |
Implements jubatus::core::framework::linear_mixable.
Definition at line 92 of file mixable_versioned_table.cpp.
References JUBATUS_EXCEPTION, and push_impl().
|
inline |
Definition at line 60 of file mixable_versioned_table.hpp.
References model_.
|
inline |
Definition at line 40 of file mixable_versioned_table.hpp.
References unlearner, and unlearner_.
|
private |
Definition at line 193 of file mixable_versioned_table.cpp.
References vc_.
Referenced by push_impl().
|
private |
Definition at line 76 of file mixable_versioned_table.hpp.
Referenced by get_model(), and set_model().
|
private |
Definition at line 77 of file mixable_versioned_table.hpp.
Referenced by set_unlearner().
|
private |
Definition at line 78 of file mixable_versioned_table.hpp.
Referenced by get_argument(), get_diff(), and update_version().