Vowpal Wabbit
|
#include "reductions.h"
#include "cb_algs.h"
#include "rand48.h"
#include "bs.h"
#include "gen_cs_example.h"
#include "explore.h"
#include <memory>
Go to the source code of this file.
Classes | |
struct | CB_EXPLORE::cb_explore |
Namespaces | |
CB_EXPLORE | |
Functions | |
template<bool is_learn> | |
void | CB_EXPLORE::predict_or_learn_first (cb_explore &data, single_learner &base, example &ec) |
template<bool is_learn> | |
void | CB_EXPLORE::predict_or_learn_greedy (cb_explore &data, single_learner &base, example &ec) |
template<bool is_learn> | |
void | CB_EXPLORE::predict_or_learn_bag (cb_explore &data, single_learner &base, example &ec) |
void | CB_EXPLORE::get_cover_probabilities (cb_explore &data, single_learner &, example &ec, v_array< action_score > &probs) |
template<bool is_learn> | |
void | CB_EXPLORE::predict_or_learn_cover (cb_explore &data, single_learner &base, example &ec) |
void | CB_EXPLORE::print_update_cb_explore (vw &all, bool is_test, example &ec, std::stringstream &pred_string) |
void | CB_EXPLORE::output_example (vw &all, cb_explore &data, example &ec, CB::label &ld) |
void | CB_EXPLORE::finish_example (vw &all, cb_explore &c, example &ec) |
base_learner * | cb_explore_setup (options_i &options, vw &all) |
base_learner* cb_explore_setup | ( | options_i & | options, |
vw & | all | ||
) |
Definition at line 274 of file cb_explore.cc.
References prediction_type::action_probs, add(), VW::config::options_i::add_and_parse(), LEARNER::as_singleline(), CB_TYPE_DR, vw::cost_sensitive, ACTION_SCORE::delete_action_scores(), vw::delete_prediction, f, CB_EXPLORE::finish_example(), vw::get_random_state(), LEARNER::init_learner(), VW::config::options_i::insert(), LEARNER::make_base(), VW::config::make_option(), vw::scorer, LEARNER::learner< T, E >::set_finish_example(), setup_base(), and VW::config::options_i::was_supplied().
Referenced by parse_reductions().