Vowpal Wabbit
Loading...
Searching...
No Matches
Public Member Functions | List of all members
VW::reductions::cats::cats_tree Class Reference

#include <cats_tree.h>

Public Member Functions

void init (uint32_t num_actions, uint32_t bandwidth)
 
int32_t learner_count () const
 
uint32_t predict (LEARNER::learner &base, example &ec)
 
void init_node_costs (std::vector< VW::cb_class > &ac)
 
const tree_nodeget_sibling (const tree_node &tree_node)
 
float return_cost (const tree_node &w)
 
void learn (LEARNER::learner &base, example &ec)
 
void set_trace_message (std::shared_ptr< std::ostream > ostrm, bool quiet)
 
 ~cats_tree ()
 

Constructor & Destructor Documentation

◆ ~cats_tree()

VW::reductions::cats::cats_tree::~cats_tree ( )

Member Function Documentation

◆ get_sibling()

const tree_node & VW::reductions::cats::cats_tree::get_sibling ( const tree_node tree_node)

◆ init()

void VW::reductions::cats::cats_tree::init ( uint32_t  num_actions,
uint32_t  bandwidth 
)

◆ init_node_costs()

void VW::reductions::cats::cats_tree::init_node_costs ( std::vector< VW::cb_class > &  ac)

◆ learn()

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

◆ learner_count()

int32_t VW::reductions::cats::cats_tree::learner_count ( ) const

◆ predict()

uint32_t VW::reductions::cats::cats_tree::predict ( LEARNER::learner base,
example ec 
)

◆ return_cost()

float VW::reductions::cats::cats_tree::return_cost ( const tree_node w)

◆ set_trace_message()

void VW::reductions::cats::cats_tree::set_trace_message ( std::shared_ptr< std::ostream >  ostrm,
bool  quiet 
)

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