Vowpal Wabbit
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
VW::reductions::offset_tree::offset_tree Class 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::learner &base, example &ec)
 
void learn (LEARNER::learner &base, example &ec)
 

Member Typedef Documentation

◆ predict_buffer_t

using VW::reductions::offset_tree::offset_tree::predict_buffer_t = std::vector<std::pair<float, float> >

◆ scores_t

Constructor & Destructor Documentation

◆ offset_tree()

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

Member Function Documentation

◆ init()

void VW::reductions::offset_tree::offset_tree::init ( )

◆ learn()

void VW::reductions::offset_tree::offset_tree::learn ( LEARNER::learner base,
example ec 
)

◆ learner_count()

int32_t VW::reductions::offset_tree::offset_tree::learner_count ( ) const

◆ predict()

const scores_t & VW::reductions::offset_tree::offset_tree::predict ( LEARNER::learner base,
example ec 
)

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