Vowpal Wabbit
Public Member Functions | Public Attributes | List of all members
MARGINAL::data Struct Reference

Public Member Functions

 ~data ()
 

Public Attributes

float initial_numerator
 
float initial_denominator
 
float decay
 
bool update_before_learn
 
bool unweighted_marginals
 
bool id_features [256]
 
features temp [256]
 
std::unordered_map< uint64_t, marginalmarginals
 
bool compete
 
float feature_pred
 
float average_pred
 
float net_weight
 
float net_feature_weight
 
float alg_loss
 
std::unordered_map< uint64_t, expert_pairexpert_state
 
vwall
 

Detailed Description

Definition at line 19 of file marginal.cc.

Constructor & Destructor Documentation

◆ ~data()

MARGINAL::data::~data ( )
inline

Definition at line 42 of file marginal.cc.

43  {
44  for (size_t i = 0; i < 256; i++) temp[i].delete_v();
45  }
features temp[256]
Definition: marginal.cc:27

Member Data Documentation

◆ alg_loss

float MARGINAL::data::alg_loss

◆ all

vw* MARGINAL::data::all

◆ average_pred

float MARGINAL::data::average_pred

Definition at line 33 of file marginal.cc.

Referenced by MARGINAL::compute_expert_loss(), and MARGINAL::make_marginal().

◆ compete

bool MARGINAL::data::compete

◆ decay

float MARGINAL::data::decay

Definition at line 23 of file marginal.cc.

Referenced by MARGINAL::update_marginal().

◆ expert_state

std::unordered_map<uint64_t, expert_pair> MARGINAL::data::expert_state

◆ feature_pred

float MARGINAL::data::feature_pred

Definition at line 32 of file marginal.cc.

Referenced by MARGINAL::compute_expert_loss(), and MARGINAL::update_marginal().

◆ id_features

bool MARGINAL::data::id_features[256]

◆ initial_denominator

float MARGINAL::data::initial_denominator

Definition at line 22 of file marginal.cc.

Referenced by MARGINAL::make_marginal().

◆ initial_numerator

float MARGINAL::data::initial_numerator

Definition at line 21 of file marginal.cc.

Referenced by MARGINAL::make_marginal().

◆ marginals

std::unordered_map<uint64_t, marginal> MARGINAL::data::marginals

◆ net_feature_weight

float MARGINAL::data::net_feature_weight

Definition at line 35 of file marginal.cc.

Referenced by MARGINAL::compute_expert_loss(), and MARGINAL::make_marginal().

◆ net_weight

float MARGINAL::data::net_weight

Definition at line 34 of file marginal.cc.

Referenced by MARGINAL::compute_expert_loss(), and MARGINAL::make_marginal().

◆ temp

features MARGINAL::data::temp[256]

◆ unweighted_marginals

bool MARGINAL::data::unweighted_marginals

Definition at line 25 of file marginal.cc.

Referenced by MARGINAL::update_marginal().

◆ update_before_learn

bool MARGINAL::data::update_before_learn

Definition at line 24 of file marginal.cc.


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