Vowpal Wabbit
Classes | Functions | Variables
COST_SENSITIVE Namespace Reference

Classes

struct  label
 
struct  wclass
 

Functions

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

Variables

label_parser cs_label
 

Function Documentation

◆ default_label()

void COST_SENSITIVE::default_label ( label ld)

◆ ec_is_example_header()

bool COST_SENSITIVE::ec_is_example_header ( example const &  ec)

◆ finish_example() [1/2]

void COST_SENSITIVE::finish_example ( VW::workspace all,
example ec 
)

◆ finish_example() [2/2]

template<class T >
void COST_SENSITIVE::finish_example ( VW::workspace all,
T &  ,
example ec 
)

◆ output_example() [1/2]

void COST_SENSITIVE::output_example ( VW::workspace all,
const example ec 
)

◆ output_example() [2/2]

void COST_SENSITIVE::output_example ( VW::workspace all,
const example ec,
const COST_SENSITIVE::label cs_label,
uint32_t  multiclass_prediction 
)

◆ print_update()

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 
)

Variable Documentation

◆ cs_label

label_parser COST_SENSITIVE::cs_label