Vowpal Wabbit
Classes | Functions | Variables
CB Namespace Reference

Classes

struct  cb_class
 
struct  label
 

Functions

bool ec_is_example_header (example const &ec)
 
std::pair< bool, cb_classget_observed_cost_cb (const label &ld)
 
void print_update (vw &all, bool is_test, example &ec, multi_ex *ec_seq, bool action_scores, CB::cb_class *known_cost)
 
template<typename LabelT = CB::label>
size_t read_cached_label_additional_fields (LabelT &ld, io_buf &cache)
 
template<typename LabelT = CB::label, typename LabelElmT = cb_class>
size_t read_cached_label (shared_data *, LabelT &ld, io_buf &cache)
 
template<typename LabelT = CB::label>
void cache_label_additional_fields (LabelT &ld, io_buf &cache)
 
template<typename LabelT = CB::label, typename LabelElmT = cb_class>
void cache_label (LabelT &ld, io_buf &cache)
 
template<typename LabelT >
void default_label_additional_fields (LabelT &ld)
 
template<typename LabelT = CB::label>
void default_label (LabelT &ld)
 
template<typename LabelElmT = cb_class>
float get_probability (const LabelElmT &elm)
 
template<>
float get_probability (const VW::cb_continuous::continuous_label_elm &elm)
 
template<typename LabelT = CB::label, typename LabelElmT = cb_class>
bool is_test_label (LabelT &ld)
 

Variables

label_parser cb_label
 

Function Documentation

template<typename LabelT = CB::label, typename LabelElmT = cb_class>
void CB::cache_label ( LabelT &  ld,
io_buf cache 
)
template<typename LabelT = CB::label>
void CB::cache_label_additional_fields ( LabelT &  ld,
io_buf cache 
)
template<typename LabelT = CB::label>
void CB::default_label ( LabelT &  ld)
template<typename LabelT >
void CB::default_label_additional_fields ( LabelT &  ld)
bool CB::ec_is_example_header ( example const &  ec)
std::pair<bool, cb_class> CB::get_observed_cost_cb ( const label ld)
template<typename LabelElmT = cb_class>
float CB::get_probability ( const LabelElmT &  elm)
template<>
float CB::get_probability ( const VW::cb_continuous::continuous_label_elm elm)
inline
template<typename LabelT = CB::label, typename LabelElmT = cb_class>
bool CB::is_test_label ( LabelT &  ld)
void CB::print_update ( vw all,
bool  is_test,
example ec,
multi_ex ec_seq,
bool  action_scores,
CB::cb_class known_cost 
)
template<typename LabelT = CB::label, typename LabelElmT = cb_class>
size_t CB::read_cached_label ( shared_data ,
LabelT &  ld,
io_buf cache 
)
template<typename LabelT = CB::label>
size_t CB::read_cached_label_additional_fields ( LabelT &  ld,
io_buf cache 
)

Variable Documentation

label_parser CB::cb_label