Vowpal Wabbit
|
Classes | |
struct | expreplay |
Functions | |
template<bool is_learn, label_parser & lp> | |
void | predict_or_learn (expreplay< lp > &er, LEARNER::single_learner &base, example &ec) |
template<label_parser & lp> | |
void | multipredict (expreplay< lp > &, LEARNER::single_learner &base, example &ec, size_t count, size_t step, polyprediction *pred, bool finalize_predictions) |
template<label_parser & lp> | |
void | end_pass (expreplay< lp > &er) |
template<char er_level, label_parser & lp> | |
LEARNER::base_learner * | expreplay_setup (VW::config::options_i &options, vw &all) |
void ExpReplay::end_pass | ( | expreplay< lp > & | er | ) |
Definition at line 69 of file expreplay.h.
References ExpReplay::expreplay< lp >::base, ExpReplay::expreplay< lp >::buf, ExpReplay::expreplay< lp >::filled, LEARNER::learner< T, E >::learn(), and ExpReplay::expreplay< lp >::N.
LEARNER::base_learner* ExpReplay::expreplay_setup | ( | VW::config::options_i & | options, |
vw & | all | ||
) |
Definition at line 81 of file expreplay.h.
References add(), VW::config::options_i::add_and_parse(), ExpReplay::expreplay< lp >::all, VW::alloc_examples(), LEARNER::as_singleline(), vw::get_random_state(), LEARNER::init_learner(), vw::interactions, LEARNER::make_base(), VW::config::make_option(), vw::quiet, LEARNER::learner< T, E >::set_end_pass(), setup_base(), and VW::config::options_i::was_supplied().
void ExpReplay::multipredict | ( | expreplay< lp > & | , |
LEARNER::single_learner & | base, | ||
example & | ec, | ||
size_t | count, | ||
size_t | step, | ||
polyprediction * | pred, | ||
bool | finalize_predictions | ||
) |
Definition at line 62 of file expreplay.h.
References LEARNER::learner< T, E >::multipredict().
void ExpReplay::predict_or_learn | ( | expreplay< lp > & | er, |
LEARNER::single_learner & | base, | ||
example & | ec | ||
) |
Definition at line 35 of file expreplay.h.
References ExpReplay::expreplay< lp >::_random_state, ExpReplay::expreplay< lp >::all, vw::audit, ExpReplay::expreplay< lp >::buf, VW::copy_example_data(), ExpReplay::expreplay< lp >::filled, example::l, LEARNER::learner< T, E >::learn(), ExpReplay::expreplay< lp >::N, LEARNER::learner< T, E >::predict(), and ExpReplay::expreplay< lp >::replay_count.