Vowpal Wabbit
Public Member Functions | Public Attributes | List of all members
stagewise_poly Struct Reference

Public Member Functions

 ~stagewise_poly ()
 

Public Attributes

vwall
 
float sched_exponent
 
uint32_t batch_sz
 
bool batch_sz_double
 
sort_datasd
 
size_t sd_len
 
uint8_t * depthsbits
 
uint64_t sum_sparsity
 
uint64_t sum_input_sparsity
 
uint64_t num_examples
 
uint64_t sum_sparsity_sync
 
uint64_t sum_input_sparsity_sync
 
uint64_t num_examples_sync
 
example synth_ec
 
feature synth_rec_f
 
exampleoriginal_ec
 
uint32_t cur_depth
 
bool training
 
uint64_t last_example_counter
 
size_t numpasses
 
uint32_t next_batch_sz
 
bool update_support
 

Detailed Description

Definition at line 28 of file stagewise_poly.cc.

Constructor & Destructor Documentation

◆ ~stagewise_poly()

stagewise_poly::~stagewise_poly ( )
inline

Definition at line 68 of file stagewise_poly.cc.

References v_array< T >::delete_v(), example_predict::feature_space, example_predict::indices, and tree_atomics.

69  {
70 #ifdef DEBUG
71  cout << "total feature number (after poly expansion!) = " << sum_sparsity << std::endl;
72 #endif // DEBUG
73 
76  free(sd);
77  free(depthsbits);
78  }
v_array< namespace_index > indices
sort_data * sd
uint8_t * depthsbits
static constexpr uint32_t tree_atomics
std::array< features, NUM_NAMESPACES > feature_space
uint64_t sum_sparsity
void delete_v()
Definition: v_array.h:98

Member Data Documentation

◆ all

vw* stagewise_poly::all

◆ batch_sz

uint32_t stagewise_poly::batch_sz

Definition at line 33 of file stagewise_poly.cc.

Referenced by end_pass(), and learn().

◆ batch_sz_double

bool stagewise_poly::batch_sz_double

Definition at line 34 of file stagewise_poly.cc.

Referenced by learn().

◆ cur_depth

uint32_t stagewise_poly::cur_depth

Definition at line 52 of file stagewise_poly.cc.

Referenced by synthetic_create(), and synthetic_create_rec().

◆ depthsbits

uint8_t* stagewise_poly::depthsbits

◆ last_example_counter

uint64_t stagewise_poly::last_example_counter

Definition at line 54 of file stagewise_poly.cc.

Referenced by learn().

◆ next_batch_sz

uint32_t stagewise_poly::next_batch_sz

Definition at line 56 of file stagewise_poly.cc.

Referenced by learn().

◆ num_examples

uint64_t stagewise_poly::num_examples

Definition at line 42 of file stagewise_poly.cc.

Referenced by end_pass(), sort_data_update_support(), and synthetic_create().

◆ num_examples_sync

uint64_t stagewise_poly::num_examples_sync

Definition at line 46 of file stagewise_poly.cc.

Referenced by end_pass().

◆ numpasses

size_t stagewise_poly::numpasses

Definition at line 55 of file stagewise_poly.cc.

Referenced by end_pass(), and learn().

◆ original_ec

example* stagewise_poly::original_ec

◆ sched_exponent

float stagewise_poly::sched_exponent

Definition at line 32 of file stagewise_poly.cc.

Referenced by sort_data_update_support().

◆ sd

sort_data* stagewise_poly::sd

◆ sd_len

size_t stagewise_poly::sd_len

◆ sum_input_sparsity

uint64_t stagewise_poly::sum_input_sparsity

Definition at line 41 of file stagewise_poly.cc.

Referenced by end_pass(), sort_data_update_support(), and synthetic_create().

◆ sum_input_sparsity_sync

uint64_t stagewise_poly::sum_input_sparsity_sync

Definition at line 45 of file stagewise_poly.cc.

Referenced by end_pass().

◆ sum_sparsity

uint64_t stagewise_poly::sum_sparsity

Definition at line 40 of file stagewise_poly.cc.

Referenced by end_pass(), and synthetic_create().

◆ sum_sparsity_sync

uint64_t stagewise_poly::sum_sparsity_sync

Definition at line 44 of file stagewise_poly.cc.

Referenced by end_pass().

◆ synth_ec

example stagewise_poly::synth_ec

◆ synth_rec_f

feature stagewise_poly::synth_rec_f

Definition at line 50 of file stagewise_poly.cc.

Referenced by synthetic_create(), and synthetic_create_rec().

◆ training

bool stagewise_poly::training

Definition at line 53 of file stagewise_poly.cc.

Referenced by synthetic_create(), and synthetic_create_rec().

◆ update_support

bool stagewise_poly::update_support

Definition at line 57 of file stagewise_poly.cc.

Referenced by end_pass(), and learn().


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