Vowpal Wabbit
|
#include <memory>
Go to the source code of this file.
Namespaces | |
BS | |
Macros | |
#define | BS_TYPE_MEAN 0 |
#define | BS_TYPE_VOTE 1 |
Functions | |
LEARNER::base_learner * | bs_setup (VW::config::options_i &options, vw &all) |
uint32_t | BS::weight_gen (std::shared_ptr< rand_state > &state) |
#define BS_TYPE_MEAN 0 |
Definition at line 8 of file bs.h.
Referenced by bs_setup(), and predict_or_learn().
#define BS_TYPE_VOTE 1 |
Definition at line 9 of file bs.h.
Referenced by bs_setup(), and predict_or_learn().
LEARNER::base_learner* bs_setup | ( | VW::config::options_i & | options, |
vw & | all | ||
) |
Definition at line 231 of file bs.cc.
References VW::config::option_group_definition::add(), add(), VW::config::options_i::add_and_parse(), LEARNER::as_singleline(), BS_TYPE_MEAN, BS_TYPE_VOTE, finish_example(), vw::get_random_state(), LEARNER::init_learner(), LEARNER::make_base(), VW::config::make_option(), LEARNER::learner< T, E >::set_finish_example(), setup_base(), and VW::config::options_i::was_supplied().
Referenced by parse_reductions().