Vowpal Wabbit
Classes | Enumerations | Functions | Variables
CCB Namespace Reference

Classes

struct  conditional_contextual_bandit_outcome
 
struct  label
 
struct  reduction_features
 

Enumerations

enum  example_type : uint8_t { unset = 0, shared = 1, action = 2, slot = 3 }
 

Functions

void default_label (CCB::label &ld)
 
void parse_label (parser *p, shared_data *, CCB::label &ld, std::vector< VW::string_view > &words,::reduction_features &)
 
void cache_label (CCB::label &ld, io_buf &cache)
 
size_t read_cached_label (shared_data *, CCB::label &ld, io_buf &cache)
 
VW::LEARNER::base_learnerccb_explore_adf_setup (VW::config::options_i &options, vw &all)
 
bool ec_is_example_header (example const &ec)
 
bool ec_is_example_unset (example const &ec)
 
std::string generate_ccb_label_printout (const std::vector< example * > &slots)
 

Variables

label_parser ccb_label_parser
 

Enumeration Type Documentation

enum CCB::example_type : uint8_t
Enumerator
unset 
shared 
action 
slot 

Function Documentation

void CCB::cache_label ( CCB::label ld,
io_buf cache 
)
VW::LEARNER::base_learner* CCB::ccb_explore_adf_setup ( VW::config::options_i options,
vw all 
)
void CCB::default_label ( CCB::label ld)
bool CCB::ec_is_example_header ( example const &  ec)
bool CCB::ec_is_example_unset ( example const &  ec)
std::string CCB::generate_ccb_label_printout ( const std::vector< example * > &  slots)
void CCB::parse_label ( parser p,
shared_data ,
CCB::label ld,
std::vector< VW::string_view > &  words,
::reduction_features  
)
size_t CCB::read_cached_label ( shared_data ,
CCB::label ld,
io_buf cache 
)

Variable Documentation

label_parser CCB::ccb_label_parser