Vowpal Wabbit
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions | Variables
cb.h File Reference
#include "vw/core/io_buf.h"
#include "vw/core/label_parser.h"
#include "vw/core/multi_ex.h"
#include "vw/core/v_array.h"
#include "vw/core/vw_fwd.h"
#include <cfloat>
#include <cstdint>
#include <utility>
#include <vector>

Classes

class  VW::cb_class
 
class  VW::cb_label
 
class  VW::cb_eval_label
 

Namespaces

namespace  VW
 
namespace  VW::details
 
namespace  VW::model_utils
 
namespace  CB
 
namespace  CB_EVAL
 

Typedefs

using CB::cb_class = VW::cb_class
 
using CB::label = VW::cb_label
 
using CB_EVAL::label = VW::cb_eval_label
 

Functions

bool VW::ec_is_example_header_cb (VW::example const &ec)
 
std::pair< bool, cb_class > VW::get_observed_cost_cb (const cb_label &ld)
 
void VW::details::print_update_cb (VW::workspace &all, bool is_test, const VW::example &ec, const VW::multi_ex *ec_seq, bool action_scores, const VW::cb_class *known_cost)
 
size_t VW::model_utils::read_model_field (io_buf &, VW::cb_class &)
 
size_t VW::model_utils::write_model_field (io_buf &, const VW::cb_class &, const std::string &, bool)
 
size_t VW::model_utils::read_model_field (io_buf &, VW::cb_label &)
 
size_t VW::model_utils::write_model_field (io_buf &, const VW::cb_label &, const std::string &, bool)
 
size_t VW::model_utils::read_model_field (io_buf &, VW::cb_eval_label &)
 
size_t VW::model_utils::write_model_field (io_buf &, const VW::cb_eval_label &, const std::string &, bool)
 
bool CB::ec_is_example_header (VW::example const &ec)
 
std::pair< bool, VW::cb_classCB::get_observed_cost_cb (const VW::cb_label &ld)
 

Variables

VW::label_parser VW::cb_label_parser_global
 
VW::label_parser VW::cb_eval_label_parser_global