Vowpal Wabbit
Loading...
Searching...
No Matches
Functions
CB_ALGS Namespace Reference

Functions

template<bool is_learn>
float get_cost_pred (VW::LEARNER::learner *scorer, const VW::cb_class &known_cost, VW::example &ec, uint32_t index, uint32_t base)
 
float get_cost_estimate (const VW::cb_class &observation, uint32_t action, float offset=0.)
 
float get_cost_estimate (const VW::cb_class &observation, const VW::cs_label &scores, uint32_t action)
 
float get_cost_estimate (const VW::cb_label &ld, uint32_t action)
 
float get_cost_estimate (const VW::action_score &a_s, float cost, uint32_t action, float offset=0.)
 
bool example_is_newline_not_header (VW::example const &ec)
 

Function Documentation

◆ example_is_newline_not_header()

bool CB_ALGS::example_is_newline_not_header ( VW::example const &  ec)
inline
Deprecated:
"Moved into VW namespace."

◆ get_cost_estimate() [1/4]

float CB_ALGS::get_cost_estimate ( const VW::action_score a_s,
float  cost,
uint32_t  action,
float  offset = 0. 
)
inline
Deprecated:
"Moved into VW namespace."

◆ get_cost_estimate() [2/4]

float CB_ALGS::get_cost_estimate ( const VW::cb_class observation,
const VW::cs_label scores,
uint32_t  action 
)
inline
Deprecated:
"Moved into VW namespace."

◆ get_cost_estimate() [3/4]

float CB_ALGS::get_cost_estimate ( const VW::cb_class observation,
uint32_t  action,
float  offset = 0. 
)
inline
Deprecated:
"Moved into VW namespace."

◆ get_cost_estimate() [4/4]

float CB_ALGS::get_cost_estimate ( const VW::cb_label ld,
uint32_t  action 
)
inline
Deprecated:
"Moved into VW namespace."

◆ get_cost_pred()

template<bool is_learn>
float CB_ALGS::get_cost_pred ( VW::LEARNER::learner scorer,
const VW::cb_class known_cost,
VW::example ec,
uint32_t  index,
uint32_t  base 
)
Deprecated:
"Moved into VW namespace."