Vowpal Wabbit
|
Classes | |
struct | explore_eval |
Functions | |
void | finish (explore_eval &data) |
void | output_example (vw &all, explore_eval &c, example &ec, multi_ex *ec_seq) |
void | output_example_seq (vw &all, explore_eval &data, multi_ex &ec_seq) |
void | finish_multiline_example (vw &all, explore_eval &data, multi_ex &ec_seq) |
template<bool is_learn> | |
void | do_actual_learning (explore_eval &data, multi_learner &base, multi_ex &ec_seq) |
void EXPLORE_EVAL::do_actual_learning | ( | explore_eval & | data, |
multi_learner & | base, | ||
multi_ex & | ec_seq | ||
) |
Definition at line 124 of file explore_eval.cc.
References EXPLORE_EVAL::explore_eval::_random_state, CB::cb_class::action, EXPLORE_EVAL::explore_eval::action_label, polylabel::cb, CB::label::costs, EXPLORE_EVAL::explore_eval::empty_label, EXPLORE_EVAL::explore_eval::fixed_multiplier, CB_ADF::get_observed_cost(), EXPLORE_EVAL::explore_eval::known_cost, example::l, EXPLORE_EVAL::explore_eval::multiplier, EXPLORE_EVAL::explore_eval::offset, CB::cb_class::probability, v_array< T >::size(), CB_ADF::test_adf_sequence(), EXPLORE_EVAL::explore_eval::update_count, EXPLORE_EVAL::explore_eval::violations, and example::weight.
void EXPLORE_EVAL::finish | ( | explore_eval & | data | ) |
Definition at line 36 of file explore_eval.cc.
References EXPLORE_EVAL::explore_eval::all, EXPLORE_EVAL::explore_eval::fixed_multiplier, EXPLORE_EVAL::explore_eval::multiplier, vw::quiet, vw::trace_message, EXPLORE_EVAL::explore_eval::update_count, and EXPLORE_EVAL::explore_eval::violations.
Referenced by explore_eval_setup().
void EXPLORE_EVAL::finish_multiline_example | ( | vw & | all, |
explore_eval & | data, | ||
multi_ex & | ec_seq | ||
) |
Definition at line 113 of file explore_eval.cc.
References vw::final_prediction_sink, VW::finish_example(), CB_ADF::global_print_newline(), and output_example_seq().
void EXPLORE_EVAL::output_example | ( | vw & | all, |
explore_eval & | c, | ||
example & | ec, | ||
multi_ex * | ec_seq | ||
) |
Definition at line 52 of file explore_eval.cc.
References polyprediction::a_s, polylabel::cb, CB::label::costs, CB::ec_is_example_header(), LEARNER::example_is_newline_not_header(), vw::final_prediction_sink, CB_ALGS::get_cost_estimate(), EXPLORE_EVAL::explore_eval::known_cost, example::l, loss(), example::pred, ACTION_SCORE::print_action_score(), vw::print_text, CB::print_update(), CB::cb_class::probability, vw::raw_prediction, vw::sd, v_array< T >::size(), example::tag, shared_data::update(), and example::weight.
Referenced by output_example_seq().
void EXPLORE_EVAL::output_example_seq | ( | vw & | all, |
explore_eval & | data, | ||
multi_ex & | ec_seq | ||
) |
Definition at line 103 of file explore_eval.cc.
References output_example(), vw::print_text, and vw::raw_prediction.