Vowpal Wabbit
|
Go to the source code of this file.
Functions | |
template<bool is_learn> | |
void | predict_or_learn (char &, LEARNER::single_learner &base, example &ec) |
LEARNER::base_learner * | binary_setup (options_i &options, vw &all) |
LEARNER::base_learner* binary_setup | ( | options_i & | options, |
vw & | all | ||
) |
Definition at line 30 of file binary.cc.
References VW::config::option_group_definition::add(), VW::config::options_i::add_and_parse(), LEARNER::as_singleline(), LEARNER::init_learner(), LEARNER::make_base(), VW::config::make_option(), and setup_base().
Referenced by parse_reductions().
void predict_or_learn | ( | char & | , |
LEARNER::single_learner & | base, | ||
example & | ec | ||
) |
Definition at line 7 of file binary.cc.
References example::l, label_data::label, LEARNER::learner< T, E >::learn(), example::loss, example::pred, LEARNER::learner< T, E >::predict(), polyprediction::scalar, polylabel::simple, and example::weight.