Vowpal Wabbit
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
gd.h File Reference
#include "vw/core/array_parameters.h"
#include "vw/core/constant.h"
#include "vw/core/example.h"
#include "vw/core/gd_predict.h"
#include "vw/core/global_data.h"
#include "vw/core/interactions.h"
#include "vw/core/vw_math.h"
#include "vw/core/vw_fwd.h"
#include <memory>

Classes

class  VW::reductions::details::gd_per_model_state
 
class  VW::reductions::gd
 
class  VW::details::multipredict_info< T >
 

Namespaces

namespace  VW
 
namespace  VW::reductions
 
namespace  VW::reductions::details
 
namespace  VW::details
 
namespace  VW::model_utils
 
namespace  GD
 

Typedefs

using GD::gd = VW::reductions::gd
 

Functions

std::shared_ptr< VW::LEARNER::learnerVW::reductions::gd_setup (VW::setup_base_i &stack_builder)
 
float VW::details::finalize_prediction (VW::shared_data &sd, VW::io::logger &logger, float ret)
 
void VW::details::print_features (VW::workspace &all, VW::example &ec)
 
void VW::details::print_audit_features (VW::workspace &, VW::example &ec)
 
void VW::details::save_load_regressor_gd (VW::workspace &all, VW::io_buf &model_file, bool read, bool text)
 
void VW::details::save_load_online_state_gd (VW::workspace &all, VW::io_buf &model_file, bool read, bool text, std::vector< VW::reductions::details::gd_per_model_state > &pms, VW::reductions::gd *g=nullptr, uint32_t ftrl_size=0)
 
template<class T >
void VW::details::vec_add_multipredict (multipredict_info< T > &mp, const float fx, uint64_t fi)
 
template<class DataT , class WeightOrIndexT , void(*)(DataT &, float, WeightOrIndexT) FuncT>
void VW::foreach_feature (VW::workspace &all, VW::example &ec, DataT &dat)
 
template<class DataT , class WeightOrIndexT , void(*)(DataT &, float, WeightOrIndexT) FuncT>
void VW::foreach_feature (VW::workspace &all, VW::example &ec, DataT &dat, size_t &num_interacted_features)
 
template<class DataT , void(*)(DataT &, float, float &) FuncT>
void VW::foreach_feature (VW::workspace &all, VW::example &ec, DataT &dat)
 
template<class DataT , void(*)(DataT &, float, float &) FuncT>
void VW::foreach_feature (VW::workspace &all, VW::example &ec, DataT &dat, size_t &num_interacted_features)
 
float VW::inline_predict (VW::workspace &all, VW::example &ec)
 
float VW::inline_predict (VW::workspace &all, VW::example &ec, size_t &num_generated_features)
 
float VW::trunc_weight (const float w, const float gravity)
 
size_t VW::model_utils::read_model_field (io_buf &, VW::reductions::details::gd_per_model_state &)
 
size_t VW::model_utils::write_model_field (io_buf &, const VW::reductions::details::gd_per_model_state &, const std::string &, bool)
 
template<class R , class S , void(*)(R &, float, S) T, bool audit, void(*)(R &, const VW::audit_strings *) audit_func>
void VW::generate_interactions (VW::workspace &all, VW::example_predict &ec, R &dat, size_t &num_interacted_features)
 
template<class R , class S , void(*)(R &, float, S) T>
void VW::generate_interactions (VW::workspace &all, VW::example_predict &ec, R &dat, size_t &num_interacted_features)
 
template<class DataT , class WeightOrIndexT , void(*)(DataT &, float, WeightOrIndexT) FuncT>
void GD::foreach_feature (VW::workspace &all, VW::example &ec, DataT &dat)
 
template<class DataT , class WeightOrIndexT , void(*)(DataT &, float, WeightOrIndexT) FuncT>
void GD::foreach_feature (VW::workspace &all, VW::example &ec, DataT &dat, size_t &num_interacted_features)
 
template<class DataT , void(*)(DataT &, float, float &) FuncT>
void GD::foreach_feature (VW::workspace &all, VW::example &ec, DataT &dat)
 
template<class DataT , void(*)(DataT &, float, float &) FuncT>
void GD::foreach_feature (VW::workspace &all, VW::example &ec, DataT &dat, size_t &num_interacted_features)
 
float GD::inline_predict (VW::workspace &all, VW::example &ec)
 
float GD::inline_predict (VW::workspace &all, VW::example &ec, size_t &num_generated_features)
 
float GD::trunc_weight (const float w, const float gravity)