Vowpal Wabbit
Classes | Namespaces | Typedefs | Functions | Variables
cb.h File Reference
#include <vector>
#include <cfloat>
#include <cstdint>
#include <utility>
#include "reductions_fwd.h"
#include "label_parser.h"
#include "v_array.h"
#include "io_buf.h"

Classes

struct  CB::cb_class
 
struct  CB::label
 
struct  CB_EVAL::label
 

Namespaces

 CB
 
 CB_EVAL
 
 VW
 
 VW::model_utils
 

Typedefs

using multi_ex = std::vector< example * >
 

Functions

bool CB::ec_is_example_header (example const &ec)
 
std::pair< bool, cb_class > CB::get_observed_cost_cb (const label &ld)
 
void CB::print_update (VW::workspace &all, bool is_test, const example &ec, const multi_ex *ec_seq, bool action_scores, const CB::cb_class *known_cost)
 
size_t VW::model_utils::read_model_field (io_buf &, CB::cb_class &)
 
size_t VW::model_utils::write_model_field (io_buf &, const CB::cb_class &, const std::string &, bool)
 
size_t VW::model_utils::read_model_field (io_buf &, CB::label &)
 
size_t VW::model_utils::write_model_field (io_buf &, const CB::label &, const std::string &, bool)
 
size_t VW::model_utils::read_model_field (io_buf &, CB_EVAL::label &)
 
size_t VW::model_utils::write_model_field (io_buf &, const CB_EVAL::label &, const std::string &, bool)
 

Variables

label_parser CB::cb_label
 
label_parser CB_EVAL::cb_eval
 

Typedef Documentation

◆ multi_ex

using multi_ex = std::vector<example*>