Vowpal Wabbit
Public Types | Public Member Functions | List of all members
VW::offset_tree::offset_tree Struct Reference

#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_tpredict (LEARNER::single_learner &base, example &ec)
 
void learn (LEARNER::single_learner &base, example &ec)
 

Member Typedef Documentation

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>

Constructor & Destructor Documentation

VW::offset_tree::offset_tree::offset_tree ( uint32_t  num_actions)

Member Function Documentation

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 
)

The documentation for this struct was generated from the following file: