jubatus_core
0.1.2
Jubatus: Online machine learning framework for distributed environment
|
#include <storage_base.hpp>
Public Member Functions | |
virtual void | bulk_update (const common::sfv_t &sfv, float step_width, const std::string &inc_class, const std::string &dec_class) |
virtual void | clear ()=0 |
virtual bool | delete_label (const std::string &label)=0 |
virtual bool | delete_label_nolock (const std::string &label)=0 |
virtual void | get (const std::string &feature, feature_val1_t &ret) const =0 |
virtual void | get2 (const std::string &feature, feature_val2_t &ret) const =0 |
virtual void | get2_nolock (const std::string &feature, feature_val2_t &ret) const =0 |
virtual void | get3 (const std::string &feature, feature_val3_t &ret) const =0 |
virtual void | get3_nolock (const std::string &feature, feature_val3_t &ret) const =0 |
virtual void | get_diff (diff_t &) const |
virtual std::vector< std::string > | get_labels () const =0 |
virtual util::concurrent::mutex & | get_lock () const =0 |
virtual void | get_nolock (const std::string &feature, feature_val1_t &ret) const =0 |
virtual void | get_status (std::map< std::string, std::string > &) const =0 |
virtual version | get_version () const =0 |
virtual void | inp (const common::sfv_t &sfv, map_feature_val1_t &ret) const =0 |
virtual void | pack (framework::packer &packer) const =0 |
virtual void | register_label (const std::string &label)=0 |
virtual void | set (const std::string &feature, const std::string &klass, const val1_t &w)=0 |
virtual void | set2 (const std::string &feature, const std::string &klass, const val2_t &w)=0 |
virtual void | set2_nolock (const std::string &feature, const std::string &klass, const val2_t &w)=0 |
virtual void | set3 (const std::string &feature, const std::string &klass, const val3_t &w)=0 |
virtual void | set3_nolock (const std::string &feature, const std::string &klass, const val3_t &w)=0 |
virtual bool | set_average_and_clear_diff (const diff_t &) |
virtual bool | set_label (const std::string &label)=0 |
virtual void | set_nolock (const std::string &feature, const std::string &klass, const val1_t &w)=0 |
virtual std::string | type () const =0 |
virtual void | unpack (msgpack::object o)=0 |
virtual void | update (const std::string &feature, const std::string &inc_class, const std::string &dec_class, const val1_t &w) |
virtual | ~storage_base () |
Public Member Functions inherited from jubatus::core::framework::model | |
virtual | ~model () |
Definition at line 38 of file storage_base.hpp.
|
inlinevirtual |
Definition at line 40 of file storage_base.hpp.
|
virtual |
Reimplemented in jubatus::core::storage::local_storage, and jubatus::core::storage::local_storage_mixture.
Definition at line 47 of file storage_base.cpp.
References set(), and update().
|
pure virtual |
Reimplemented from jubatus::core::framework::model.
Implemented in jubatus::core::storage::local_storage_mixture, and jubatus::core::storage::local_storage.
|
pure virtual |
Implemented in jubatus::core::storage::local_storage_mixture, and jubatus::core::storage::local_storage.
|
pure virtual |
Implemented in jubatus::core::storage::local_storage_mixture, and jubatus::core::storage::local_storage.
|
pure virtual |
Implemented in jubatus::core::storage::local_storage, and jubatus::core::storage::local_storage_mixture.
|
pure virtual |
Implemented in jubatus::core::storage::local_storage, and jubatus::core::storage::local_storage_mixture.
|
pure virtual |
Implemented in jubatus::core::storage::local_storage, and jubatus::core::storage::local_storage_mixture.
|
pure virtual |
Implemented in jubatus::core::storage::local_storage, and jubatus::core::storage::local_storage_mixture.
|
pure virtual |
Implemented in jubatus::core::storage::local_storage, and jubatus::core::storage::local_storage_mixture.
|
virtual |
Reimplemented in jubatus::core::storage::local_storage_mixture.
Definition at line 72 of file storage_base.cpp.
References jubatus::core::storage::diff_t::diff.
|
pure virtual |
Implemented in jubatus::core::storage::local_storage_mixture, and jubatus::core::storage::local_storage.
|
pure virtual |
Implemented in jubatus::core::storage::local_storage, and jubatus::core::storage::local_storage_mixture.
|
pure virtual |
Implemented in jubatus::core::storage::local_storage, and jubatus::core::storage::local_storage_mixture.
|
pure virtual |
Implemented in jubatus::core::storage::local_storage, and jubatus::core::storage::local_storage_mixture.
|
pure virtual |
Implemented in jubatus::core::storage::local_storage_mixture, and jubatus::core::storage::local_storage.
|
pure virtual |
Implemented in jubatus::core::storage::local_storage, and jubatus::core::storage::local_storage_mixture.
|
pure virtual |
Implements jubatus::core::framework::model.
Implemented in jubatus::core::storage::local_storage_mixture, and jubatus::core::storage::local_storage.
|
pure virtual |
Implemented in jubatus::core::storage::local_storage_mixture, and jubatus::core::storage::local_storage.
|
pure virtual |
Implemented in jubatus::core::storage::local_storage, and jubatus::core::storage::local_storage_mixture.
Referenced by bulk_update(), and update().
|
pure virtual |
Implemented in jubatus::core::storage::local_storage, and jubatus::core::storage::local_storage_mixture.
|
pure virtual |
Implemented in jubatus::core::storage::local_storage, and jubatus::core::storage::local_storage_mixture.
|
pure virtual |
Implemented in jubatus::core::storage::local_storage, and jubatus::core::storage::local_storage_mixture.
|
pure virtual |
Implemented in jubatus::core::storage::local_storage, and jubatus::core::storage::local_storage_mixture.
|
virtual |
Reimplemented in jubatus::core::storage::local_storage_mixture.
Definition at line 76 of file storage_base.cpp.
|
pure virtual |
Implemented in jubatus::core::storage::local_storage_mixture, and jubatus::core::storage::local_storage.
|
pure virtual |
Implemented in jubatus::core::storage::local_storage, and jubatus::core::storage::local_storage_mixture.
|
pure virtual |
Implemented in jubatus::core::storage::local_storage_mixture, and jubatus::core::storage::local_storage.
|
pure virtual |
Implements jubatus::core::framework::model.
Implemented in jubatus::core::storage::local_storage_mixture, and jubatus::core::storage::local_storage.
|
virtual |
Reimplemented in jubatus::core::storage::local_storage, and jubatus::core::storage::local_storage_mixture.
Definition at line 27 of file storage_base.cpp.
References set().
Referenced by bulk_update().