Vowpal Wabbit
Classes | Namespaces | Functions
gd.h File Reference
#include "parse_regressor.h"
#include "constant.h"
#include "interactions.h"
#include "array_parameters.h"
#include "gd_predict.h"
#include "vw_math.h"

Classes

struct  GD::multipredict_info< T >
 

Namespaces

 GD
 
 INTERACTIONS
 

Functions

VW::LEARNER::base_learnerGD::setup (VW::config::options_i &options, vw &all)
 
float GD::finalize_prediction (shared_data *sd, vw_logger &logger, float ret)
 
void GD::print_features (vw &all, example &ec)
 
void GD::print_audit_features (vw &, example &ec)
 
void GD::save_load_regressor (vw &all, io_buf &model_file, bool read, bool text)
 
void GD::save_load_online_state (vw &all, io_buf &model_file, bool read, bool text, double &total_weight, GD::gd *g=nullptr, uint32_t ftrl_size=0)
 
template<class T >
void GD::vec_add_multipredict (multipredict_info< T > &mp, const float fx, uint64_t fi)
 
template<class DataT , class WeightOrIndexT , void(*)(DataT &, float, WeightOrIndexT) FuncT>
void GD::foreach_feature (vw &all, example &ec, DataT &dat)
 
template<class DataT , class WeightOrIndexT , void(*)(DataT &, float, WeightOrIndexT) FuncT>
void GD::foreach_feature (vw &all, example &ec, DataT &dat, size_t &num_interacted_features)
 
template<class DataT , void(*)(DataT &, float, float &) FuncT>
void GD::foreach_feature (vw &all, example &ec, DataT &dat)
 
template<class DataT , void(*)(DataT &, float, float &) FuncT>
void GD::foreach_feature (vw &all, example &ec, DataT &dat, size_t &num_interacted_features)
 
float GD::inline_predict (vw &all, example &ec)
 
float GD::inline_predict (vw &all, example &ec, size_t &num_generated_features)
 
float GD::trunc_weight (const float w, const float gravity)
 
template<class R , class S , void(*)(R &, float, S) T, bool audit, void(*)(R &, const audit_strings *) audit_func>
void INTERACTIONS::generate_interactions (vw &all, example_predict &ec, R &dat, size_t &num_interacted_features)
 
template<class R , class S , void(*)(R &, float, S) T>
void INTERACTIONS::generate_interactions (vw &all, example_predict &ec, R &dat, size_t &num_interacted_features)