Vowpal Wabbit
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
VW::reductions::gd Class Reference

#include <gd.h>

Public Member Functions

 gd (size_t feature_width_above=1)
 

Public Attributes

std::vector< VW::reductions::details::gd_per_model_stategd_per_model_states
 
VW::reductions::details::gd_per_model_statecurrent_model_state = nullptr
 
size_t no_win_counter = 0
 
size_t early_stop_thres = 0
 
float initial_constant = 0.f
 
float neg_norm_power = 0.f
 
float neg_power_t = 0.f
 
float sparse_l2 = 0.f
 
float update_multiplier = 0.f
 
void(* predict )(gd &, VW::example &) = nullptr
 
void(* learn )(gd &, VW::example &) = nullptr
 
void(* update )(gd &, VW::example &) = nullptr
 
float(* sensitivity )(gd &, VW::example &) = nullptr
 
void(* multipredict )(gd &, VW::example &, size_t, size_t, VW::polyprediction *, bool) = nullptr
 
bool adaptive_input = false
 
bool normalized_input = false
 
bool adax = false
 
bool per_model_save_load = false
 
VW::workspaceall = nullptr
 

Constructor & Destructor Documentation

◆ gd()

VW::reductions::gd::gd ( size_t  feature_width_above = 1)
inline

Member Data Documentation

◆ adaptive_input

bool VW::reductions::gd::adaptive_input = false

◆ adax

bool VW::reductions::gd::adax = false

◆ all

VW::workspace* VW::reductions::gd::all = nullptr

◆ current_model_state

VW::reductions::details::gd_per_model_state* VW::reductions::gd::current_model_state = nullptr

◆ early_stop_thres

size_t VW::reductions::gd::early_stop_thres = 0

◆ gd_per_model_states

std::vector<VW::reductions::details::gd_per_model_state> VW::reductions::gd::gd_per_model_states

◆ initial_constant

float VW::reductions::gd::initial_constant = 0.f

◆ learn

void(* VW::reductions::gd::learn) (gd &, VW::example &) = nullptr

◆ multipredict

void(* VW::reductions::gd::multipredict) (gd &, VW::example &, size_t, size_t, VW::polyprediction *, bool) = nullptr

◆ neg_norm_power

float VW::reductions::gd::neg_norm_power = 0.f

◆ neg_power_t

float VW::reductions::gd::neg_power_t = 0.f

◆ no_win_counter

size_t VW::reductions::gd::no_win_counter = 0

◆ normalized_input

bool VW::reductions::gd::normalized_input = false

◆ per_model_save_load

bool VW::reductions::gd::per_model_save_load = false

◆ predict

void(* VW::reductions::gd::predict) (gd &, VW::example &) = nullptr

◆ sensitivity

float(* VW::reductions::gd::sensitivity) (gd &, VW::example &) = nullptr

◆ sparse_l2

float VW::reductions::gd::sparse_l2 = 0.f

◆ update

void(* VW::reductions::gd::update) (gd &, VW::example &) = nullptr

◆ update_multiplier

float VW::reductions::gd::update_multiplier = 0.f

The documentation for this class was generated from the following file: