Vowpal Wabbit
|
Go to the source code of this file.
Classes | |
struct | LRQFAstate |
Functions | |
float | cheesyrand (uint64_t x) |
constexpr bool | example_is_test (example &ec) |
template<bool is_learn> | |
void | predict_or_learn (LRQFAstate &lrq, single_learner &base, example &ec) |
LEARNER::base_learner * | lrqfa_setup (options_i &options, vw &all) |
|
inline |
|
inline |
Definition at line 25 of file lrqfa.cc.
References example::l, label_data::label, and polylabel::simple.
Referenced by predict_or_learn().
LEARNER::base_learner* lrqfa_setup | ( | options_i & | options, |
vw & | all | ||
) |
Definition at line 133 of file lrqfa.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(), setup_base(), spoof_hex_encoded_namespaces(), VW::config::options_i::was_supplied(), and vw::wpp.
Referenced by parse_reductions().
void predict_or_learn | ( | LRQFAstate & | lrq, |
single_learner & | base, | ||
example & | ec | ||
) |
Definition at line 28 of file lrqfa.cc.
References LRQFAstate::all, vw::audit, v_array< T >::begin(), cheesyrand(), v_array< T >::end(), example::example_counter, example_is_test(), example_predict::feature_space, LRQFAstate::field_id, LRQFAstate::field_name, vw::hash_inv, example_predict::indices, features::indicies, LRQFAstate::k, LEARNER::learner< T, E >::learn(), example::loss, parameters::mask(), LRQFAstate::orig_size, example::pred, LEARNER::learner< T, E >::predict(), v_array< T >::push_back(), features::push_back(), polyprediction::scalar, v_array< T >::size(), features::space_names, stride_shift(), parameters::stride_shift(), features::values, and vw::weights.