Vowpal Wabbit
Namespaces | Functions
gen_cs_example.cc File Reference
#include <float.h>
#include "vw.h"
#include "reductions.h"
#include "vw_exception.h"
#include "gen_cs_example.h"

Go to the source code of this file.

Namespaces

 GEN_CS
 

Functions

constexpr bool GEN_CS::observed_cost (cb_class *cl)
 
cb_classGEN_CS::get_observed_cost (CB::label &ld)
 
float GEN_CS::safe_probability (float prob)
 
void GEN_CS::gen_cs_example_ips (multi_ex &examples, COST_SENSITIVE::label &cs_labels, float clip_p)
 
void GEN_CS::gen_cs_example_dm (multi_ex &examples, COST_SENSITIVE::label &cs_labels)
 
void GEN_CS::gen_cs_test_example (multi_ex &examples, COST_SENSITIVE::label &cs_labels)
 
void GEN_CS::gen_cs_example_ips (cb_to_cs &c, CB::label &ld, COST_SENSITIVE::label &cs_ld, float clip_p)
 
void GEN_CS::gen_cs_example_mtr (cb_to_cs_adf &c, multi_ex &ec_seq, COST_SENSITIVE::label &cs_labels)
 
void GEN_CS::gen_cs_example_sm (multi_ex &, uint32_t chosen_action, float sign_offset, ACTION_SCORE::action_scores action_vals, COST_SENSITIVE::label &cs_labels)