Vowpal Wabbit
|
Go to the source code of this file.
Classes | |
struct | SVRG::svrg |
struct | SVRG::update |
Namespaces | |
SVRG | |
Macros | |
#define | W_INNER 0 |
#define | W_STABLE 1 |
#define | W_STABLEGRAD 2 |
Functions | |
template<int offset> | |
void | SVRG::vec_add (float &p, const float x, float &w) |
template<int offset> | |
float | SVRG::inline_predict (vw &all, example &ec) |
float | SVRG::predict_stable (const svrg &s, example &ec) |
void | SVRG::predict (svrg &s, single_learner &, example &ec) |
float | SVRG::gradient_scalar (const svrg &s, const example &ec, float pred) |
void | SVRG::update_inner_feature (update &u, float x, float &w) |
void | SVRG::update_stable_feature (float &g_scalar, float x, float &w) |
void | SVRG::update_inner (const svrg &s, example &ec) |
void | SVRG::update_stable (const svrg &s, example &ec) |
void | SVRG::learn (svrg &s, single_learner &base, example &ec) |
void | SVRG::save_load (svrg &s, io_buf &model_file, bool read, bool text) |
base_learner * | svrg_setup (options_i &options, vw &all) |
#define W_INNER 0 |
Definition at line 14 of file svrg.cc.
Referenced by SVRG::learn().
#define W_STABLE 1 |
Definition at line 15 of file svrg.cc.
Referenced by SVRG::learn().
#define W_STABLEGRAD 2 |
Definition at line 16 of file svrg.cc.
Referenced by SVRG::learn(), SVRG::update_inner_feature(), and SVRG::update_stable_feature().
base_learner* svrg_setup | ( | options_i & | options, |
vw & | all | ||
) |
Definition at line 168 of file svrg.cc.
References VW::config::option_group_definition::add(), VW::config::options_i::add_and_parse(), LEARNER::init_learner(), SVRG::learn(), LEARNER::make_base(), VW::config::make_option(), SVRG::predict(), SVRG::save_load(), LEARNER::learner< T, E >::set_save_load(), parameters::stride_shift(), UINT64_ONE, and vw::weights.
Referenced by parse_reductions().