Vowpal Wabbit
|
#include <float.h>
#include "vw.h"
#include "reductions.h"
#include "cb_algs.h"
#include "vw_exception.h"
#include "gen_cs_example.h"
Go to the source code of this file.
Classes | |
struct | CB_ALGS::cb |
Namespaces | |
CB_ALGS | |
Functions | |
bool | CB_ALGS::know_all_cost_example (CB::label &ld) |
template<bool is_learn> | |
void | CB_ALGS::predict_or_learn (cb &data, single_learner &base, example &ec) |
void | CB_ALGS::predict_eval (cb &, single_learner &, example &) |
void | CB_ALGS::learn_eval (cb &data, single_learner &, example &ec) |
void | CB_ALGS::output_example (vw &all, cb &data, example &ec, CB::label &ld) |
void | CB_ALGS::finish_example (vw &all, cb &c, example &ec) |
void | CB_ALGS::eval_finish_example (vw &all, cb &c, example &ec) |
base_learner * | cb_algs_setup (options_i &options, vw &all) |
base_learner* cb_algs_setup | ( | options_i & | options, |
vw & | all | ||
) |
Definition at line 132 of file cb_algs.cc.
References VW::config::option_group_definition::add(), add(), VW::config::options_i::add_and_parse(), LEARNER::as_singleline(), c, label_type::cb, CB_EVAL::cb_eval, label_type::cb_eval, CB::cb_label, GEN_CS::cb_to_cs::cb_type, CB_TYPE_DM, CB_TYPE_DR, CB_TYPE_IPS, CB_ALGS::eval_finish_example(), CB_ALGS::finish_example(), LEARNER::init_learner(), VW::config::options_i::insert(), vw::label_type, CB_ALGS::learn_eval(), parser::lp, LEARNER::make_base(), VW::config::make_option(), prediction_type::multiclass, vw::p, CB_ALGS::predict_eval(), GEN_CS::cb_to_cs::scorer, vw::scorer, LEARNER::learner< T, E >::set_finish_example(), setup_base(), THROW, and VW::config::options_i::was_supplied().
Referenced by parse_reductions().