Vowpal Wabbit
Loading...
Searching...
No Matches
Namespaces | Functions
cb_algs.h File Reference
#include "vw/core/cb.h"
#include "vw/core/cb_type.h"
#include "vw/core/example.h"
#include "vw/core/guard.h"
#include "vw/core/learner.h"
#include "vw/core/reductions/baseline.h"
#include "vw/core/simple_label.h"
#include <cfloat>

Namespaces

namespace  VW
 
namespace  VW::reductions
 
namespace  CB_ALGS
 

Functions

std::shared_ptr< VW::LEARNER::learnerVW::reductions::cb_algs_setup (VW::setup_base_i &stack_builder)
 
template<bool is_learn>
float VW::get_cost_pred (VW::LEARNER::learner *scorer, const VW::cb_class &known_cost, VW::example &ec, uint32_t index, uint32_t base)
 
float VW::get_cost_estimate (const VW::cb_class &observation, uint32_t action, float offset=0.)
 
float VW::get_cost_estimate (const VW::cb_class &observation, const VW::cs_label &scores, uint32_t action)
 
float VW::get_cost_estimate (const VW::cb_label &ld, uint32_t action)
 
float VW::get_cost_estimate (const VW::action_score &a_s, float cost, uint32_t action, float offset=0.)
 
bool VW::example_is_newline_not_header_cb (VW::example const &ec)
 
template<bool is_learn>
float CB_ALGS::get_cost_pred (VW::LEARNER::learner *scorer, const VW::cb_class &known_cost, VW::example &ec, uint32_t index, uint32_t base)
 
float CB_ALGS::get_cost_estimate (const VW::cb_class &observation, uint32_t action, float offset=0.)
 
float CB_ALGS::get_cost_estimate (const VW::cb_class &observation, const VW::cs_label &scores, uint32_t action)
 
float CB_ALGS::get_cost_estimate (const VW::cb_label &ld, uint32_t action)
 
float CB_ALGS::get_cost_estimate (const VW::action_score &a_s, float cost, uint32_t action, float offset=0.)
 
bool CB_ALGS::example_is_newline_not_header (VW::example const &ec)