Vowpal Wabbit
|
#include <offset_tree.h>
Public Types | |
using | scores_t = std::vector< float > |
using | predict_buffer_t = std::vector< std::pair< float, float >> |
Public Member Functions | |
offset_tree (uint32_t num_actions) | |
void | init () |
int32_t | learner_count () const |
const scores_t & | predict (LEARNER::single_learner &base, example &ec) |
void | learn (LEARNER::single_learner &base, example &ec) |
using VW::offset_tree::offset_tree::predict_buffer_t = std::vector<std::pair<float, float>> |
using VW::offset_tree::offset_tree::scores_t = std::vector<float> |
VW::offset_tree::offset_tree::offset_tree | ( | uint32_t | num_actions | ) |
void VW::offset_tree::offset_tree::init | ( | ) |
void VW::offset_tree::offset_tree::learn | ( | LEARNER::single_learner & | base, |
example & | ec | ||
) |
int32_t VW::offset_tree::offset_tree::learner_count | ( | ) | const |
const scores_t& VW::offset_tree::offset_tree::predict | ( | LEARNER::single_learner & | base, |
example & | ec | ||
) |