Vowpal Wabbit
Classes | Namespaces | Functions | Variables
cost_sensitive.h File Reference
#include <vector>
#include <cstdint>
#include "label_parser.h"
#include "v_array.h"
#include "io_buf.h"

Classes

struct  COST_SENSITIVE::wclass
 
struct  COST_SENSITIVE::label
 

Namespaces

 VW
 
 COST_SENSITIVE
 
 VW::model_utils
 

Functions

void COST_SENSITIVE::output_example (VW::workspace &all, const example &ec)
 
void COST_SENSITIVE::output_example (VW::workspace &all, const example &ec, const COST_SENSITIVE::label &cs_label, uint32_t multiclass_prediction)
 
void COST_SENSITIVE::finish_example (VW::workspace &all, example &ec)
 
template<class T >
void COST_SENSITIVE::finish_example (VW::workspace &all, T &, example &ec)
 
void COST_SENSITIVE::default_label (label &ld)
 
void COST_SENSITIVE::print_update (VW::workspace &all, bool is_test, const example &ec, const std::vector< example *> *ec_seq, bool multilabel, uint32_t prediction)
 
bool COST_SENSITIVE::ec_is_example_header (example const &ec)
 
size_t VW::model_utils::read_model_field (io_buf &, COST_SENSITIVE::wclass &)
 
size_t VW::model_utils::write_model_field (io_buf &, const COST_SENSITIVE::wclass &, const std::string &, bool)
 
size_t VW::model_utils::read_model_field (io_buf &, COST_SENSITIVE::label &)
 
size_t VW::model_utils::write_model_field (io_buf &, const COST_SENSITIVE::label &, const std::string &, bool)
 

Variables

label_parser COST_SENSITIVE::cs_label