Vowpal Wabbit
|
Go to the source code of this file.
Classes | |
struct | MWT::policy_data |
struct | MWT::mwt |
Namespaces | |
MWT | |
Functions | |
bool | MWT::observed_cost (CB::cb_class *cl) |
CB::cb_class * | MWT::get_observed_cost (CB::label &ld) |
void | MWT::value_policy (mwt &c, float val, uint64_t index) |
template<bool learn, bool exclude, bool is_learn> | |
void | MWT::predict_or_learn (mwt &c, single_learner &base, example &ec) |
void | MWT::print_scalars (int f, v_array< float > &scalars, v_array< char > &tag) |
void | MWT::finish_example (vw &all, mwt &c, example &ec) |
void | MWT::save_load (mwt &c, io_buf &model_file, bool read, bool text) |
base_learner * | mwt_setup (options_i &options, vw &all) |
base_learner* mwt_setup | ( | options_i & | options, |
vw & | all | ||
) |
Definition at line 236 of file mwt.cc.
References VW::config::option_group_definition::add(), add(), VW::config::options_i::add_and_parse(), LEARNER::as_singleline(), c, calloc_reserve(), label_type::cb, CB::cb_label, vw::delete_prediction, delete_scalars(), MWT::finish_example(), LEARNER::init_learner(), VW::config::options_i::insert(), vw::label_type, vw::length(), parser::lp, LEARNER::make_base(), VW::config::make_option(), vw::p, MWT::save_load(), prediction_type::scalars, LEARNER::learner< T, E >::set_finish_example(), LEARNER::learner< T, E >::set_save_load(), setup_base(), and VW::config::options_i::was_supplied().
Referenced by parse_reductions().