Vowpal Wabbit
Namespaces | Macros | Functions
cb_algs.h File Reference
#include "baseline.h"

Namespaces

 CB_ALGS
 

Macros

#define CB_TYPE_DR   0
 
#define CB_TYPE_DM   1
 
#define CB_TYPE_IPS   2
 
#define CB_TYPE_MTR   3
 
#define CB_TYPE_SM   4
 

Functions

VW::LEARNER::base_learnercb_algs_setup (VW::config::options_i &options, vw &all)
 
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)
 
float CB_ALGS::get_cost_estimate (CB::cb_class *observation, uint32_t action, float offset=0.)
 
float CB_ALGS::get_cost_estimate (CB::cb_class *observation, COST_SENSITIVE::label &scores, uint32_t action)
 
float CB_ALGS::get_cost_estimate (ACTION_SCORE::action_score &a_s, float cost, uint32_t action, float offset=0.)
 
bool CB_ALGS::example_is_newline_not_header (example const &ec)
 

Macro Definition Documentation

#define CB_TYPE_DM   1
#define CB_TYPE_DR   0
#define CB_TYPE_IPS   2
#define CB_TYPE_MTR   3
#define CB_TYPE_SM   4

Function Documentation

VW::LEARNER::base_learner* cb_algs_setup ( VW::config::options_i options,
vw all 
)