Vowpal Wabbit
Classes | Functions | Variables
CB Namespace Reference

Classes

struct  cb_class
 
struct  label
 

Functions

bool ec_is_example_header (example const &ec)
 
void print_update (vw &all, bool is_test, example &ec, std::vector< example * > *ec_seq, bool action_scores)
 
template<typename LabelT = CB::label>
char * bufread_label_additional_fields (LabelT *ld, char *c)
 
template<typename LabelT = CB::label, typename LabelElmT = cb_class>
char * bufread_label (LabelT *ld, char *c, io_buf &cache)
 
template<typename LabelT = CB::label, typename LabelElmT = cb_class>
size_t read_cached_label (shared_data *, void *v, io_buf &cache)
 
float weight (void *)
 
template<typename LabelT >
char * bufcache_label_additional_fields (LabelT *ld, char *c)
 
template<typename LabelT = CB::label, typename LabelElmT = cb_class>
char * bufcache_label (LabelT *ld, char *c)
 
template<typename LabelT = CB::label, typename LabelElmT = cb_class>
void cache_label (void *v, io_buf &cache)
 
template<typename LabelT >
void default_label_additional_fields (LabelT *ld)
 
template<typename LabelT = CB::label>
void default_label (void *v)
 
template<typename LabelElmT = cb_class>
float get_probability (LabelElmT &elm)
 
template<>
float get_probability (VW::cb_continuous::continuous_label_elm &elm)
 
template<typename LabelT = CB::label, typename LabelElmT = cb_class>
bool is_test_label (void *v)
 
template<typename LabelT = CB::label>
void delete_label (void *v)
 
template<typename LabelT = CB::label>
void copy_label_additional_fields (LabelT *dst, LabelT *src)
 
template<typename LabelT = CB::label>
void copy_label (void *dst, void *src)
 

Variables

label_parser cb_label
 

Function Documentation

template<typename LabelT = CB::label, typename LabelElmT = cb_class>
char* CB::bufcache_label ( LabelT *  ld,
char *  c 
)
template<typename LabelT >
char* CB::bufcache_label_additional_fields ( LabelT *  ld,
char *  c 
)
template<typename LabelT = CB::label, typename LabelElmT = cb_class>
char* CB::bufread_label ( LabelT *  ld,
char *  c,
io_buf cache 
)
template<typename LabelT = CB::label>
char* CB::bufread_label_additional_fields ( LabelT *  ld,
char *  c 
)
template<typename LabelT = CB::label, typename LabelElmT = cb_class>
void CB::cache_label ( void *  v,
io_buf cache 
)
template<typename LabelT = CB::label>
void CB::copy_label ( void *  dst,
void *  src 
)
template<typename LabelT = CB::label>
void CB::copy_label_additional_fields ( LabelT *  dst,
LabelT *  src 
)
template<typename LabelT = CB::label>
void CB::default_label ( void *  v)
template<typename LabelT >
void CB::default_label_additional_fields ( LabelT *  ld)
template<typename LabelT = CB::label>
void CB::delete_label ( void *  v)
bool CB::ec_is_example_header ( example const &  ec)
template<typename LabelElmT = cb_class>
float CB::get_probability ( LabelElmT &  elm)
template<>
float CB::get_probability ( VW::cb_continuous::continuous_label_elm elm)
inline
template<typename LabelT = CB::label, typename LabelElmT = cb_class>
bool CB::is_test_label ( void *  v)
void CB::print_update ( vw all,
bool  is_test,
example ec,
std::vector< example * > *  ec_seq,
bool  action_scores 
)
template<typename LabelT = CB::label, typename LabelElmT = cb_class>
size_t CB::read_cached_label ( shared_data ,
void *  v,
io_buf cache 
)
float CB::weight ( void *  )

Variable Documentation

label_parser CB::cb_label