Vowpal Wabbit
Functions
CB_ALGS Namespace Reference

Functions

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

Function Documentation

bool CB_ALGS::example_is_newline_not_header ( example const &  ec)
inline
float CB_ALGS::get_cost_estimate ( CB::cb_class observation,
uint32_t  action,
float  offset = 0. 
)
inline
float CB_ALGS::get_cost_estimate ( CB::cb_class observation,
COST_SENSITIVE::label scores,
uint32_t  action 
)
inline
float CB_ALGS::get_cost_estimate ( ACTION_SCORE::action_score a_s,
float  cost,
uint32_t  action,
float  offset = 0. 
)
inline
template<bool is_learn>
float CB_ALGS::get_cost_pred ( VW::LEARNER::single_learner scorer,
CB::cb_class known_cost,
example ec,
uint32_t  index,
uint32_t  base 
)