|
jubatus_core
0.1.2
Jubatus: Online machine learning framework for distributed environment
|
#include <softmax.hpp>


Public Member Functions | |
| void | clear () |
| bool | delete_arm (const std::string &arm_id) |
| arm_info_map | get_arm_info (const std::string &player_id) const |
| void | get_diff (diff_t &diff) const |
| storage::version | get_version () const |
| void | mix (const diff_t &lhs, diff_t &rhs) const |
| std::string | name () const |
| void | pack (framework::packer &pk) const |
| bool | put_diff (const diff_t &diff) |
| bool | register_arm (const std::string &arm_id) |
| bool | register_reward (const std::string &player_id, const std::string &arm_id, double reward) |
| bool | reset (const std::string &player_id) |
| std::string | select_arm (const std::string &player_id) |
| softmax (bool assume_unrewarded, double tau) | |
| void | unpack (msgpack::object o) |
Public Member Functions inherited from jubatus::core::bandit::bandit_base | |
| bandit_base () | |
| virtual | ~bandit_base () |
Private Attributes | |
| jubatus::util::math::random::mtrand | rand_ |
| summation_storage | s_ |
| double | tau_ |
Additional Inherited Members | |
Public Types inherited from jubatus::core::bandit::bandit_base | |
| typedef jubatus::util::data::unordered_map< std::string, arm_info_map > | diff_t |
Definition at line 30 of file softmax.hpp.
| jubatus::core::bandit::softmax::softmax | ( | bool | assume_unrewarded, |
| double | tau | ||
| ) |
|
virtual |
Implements jubatus::core::bandit::bandit_base.
Definition at line 79 of file softmax.cpp.
References jubatus::core::bandit::summation_storage::clear(), and s_.

|
virtual |
Implements jubatus::core::bandit::bandit_base.
Definition at line 62 of file softmax.cpp.
References jubatus::core::bandit::summation_storage::delete_arm(), and s_.

|
virtual |
Implements jubatus::core::bandit::bandit_base.
Definition at line 72 of file softmax.cpp.
References jubatus::core::bandit::summation_storage::get_arm_info_map(), and s_.

|
virtual |
Implements jubatus::core::bandit::bandit_base.
Definition at line 90 of file softmax.cpp.
References jubatus::core::bandit::summation_storage::get_diff(), and s_.

|
virtual |
Implements jubatus::core::bandit::bandit_base.
Definition at line 100 of file softmax.cpp.
Implements jubatus::core::bandit::bandit_base.
Definition at line 96 of file softmax.cpp.
References jubatus::core::bandit::summation_storage::mix(), and s_.

|
inlinevirtual |
Implements jubatus::core::bandit::bandit_base.
Definition at line 48 of file softmax.hpp.
|
virtual |
Implements jubatus::core::bandit::bandit_base.
Definition at line 83 of file softmax.cpp.
References s_.
|
virtual |
Implements jubatus::core::bandit::bandit_base.
Definition at line 93 of file softmax.cpp.
References jubatus::core::bandit::summation_storage::put_diff(), and s_.

|
virtual |
Implements jubatus::core::bandit::bandit_base.
Definition at line 59 of file softmax.cpp.
References jubatus::core::bandit::summation_storage::register_arm(), and s_.

|
virtual |
Implements jubatus::core::bandit::bandit_base.
Definition at line 66 of file softmax.cpp.
References jubatus::core::bandit::summation_storage::register_reward(), and s_.

|
virtual |
Implements jubatus::core::bandit::bandit_base.
Definition at line 76 of file softmax.cpp.
References jubatus::core::bandit::summation_storage::reset(), and s_.

|
virtual |
Implements jubatus::core::bandit::bandit_base.
Definition at line 40 of file softmax.cpp.
References jubatus::core::bandit::summation_storage::get_arm_ids(), jubatus::core::bandit::summation_storage::get_expectation(), JUBATUS_EXCEPTION, jubatus::core::bandit::summation_storage::notify_selected(), rand_, s_, jubatus::core::bandit::select_by_weights(), and tau_.

|
virtual |
Implements jubatus::core::bandit::bandit_base.
Definition at line 86 of file softmax.cpp.
References s_.
|
private |
Definition at line 62 of file softmax.hpp.
Referenced by select_arm().
|
private |
Definition at line 63 of file softmax.hpp.
Referenced by clear(), delete_arm(), get_arm_info(), get_diff(), mix(), pack(), put_diff(), register_arm(), register_reward(), reset(), select_arm(), and unpack().
|
private |
Definition at line 61 of file softmax.hpp.
Referenced by select_arm().
1.8.9.1