Class CVwEnvironment is the environment used by VW.
Contains global constants and settings which change the behaviour of Vowpal Wabbit.
It is used while parsing input, and also while learning.
One CVwEnvironment object should be bound to the CStreamingVwFile or CStreamingVwCacheFile, and the pointer to it propagated upwards to CStreamingVwFeatures and finally to CVowpalWabbit.
Definition at line 39 of file VwEnvironment.h.
List of all members.
Constructor & Destructor Documentation
Default constructor Should initialize with reasonable default values
Definition at line 19 of file VwEnvironment.cpp.
Member Function Documentation
Return maximum label encountered
- max label
Definition at line 87 of file VwEnvironment.h.
Return minimum label encountered
- min label
Definition at line 81 of file VwEnvironment.h.
|virtual const char* get_name
Return number of bits used for weight vector
- number of bits
Definition at line 63 of file VwEnvironment.h.
Return length of weight vector
- length of weight vector
Definition at line 99 of file VwEnvironment.h.
Return number of threads used for learning
- number of threads
Definition at line 93 of file VwEnvironment.h.
Set mask used while accessing features
Definition at line 69 of file VwEnvironment.h.
Set number of bits used for the weight vector
Definition at line 57 of file VwEnvironment.h.
Set a new stride value. Also changes thread_mask.
|new_stride ||new value of stride |
Definition at line 69 of file VwEnvironment.cpp.
Member Data Documentation
Whether exact norm is used for adaptive learning.
Definition at line 147 of file VwEnvironment.h.
Initial value of all elements in weight vector.
Definition at line 154 of file VwEnvironment.h.
Pairs of features to cross for quadratic updates.
Definition at line 194 of file VwEnvironment.h.
Number of elements in weight vector per feature.
Definition at line 132 of file VwEnvironment.h.
The documentation for this class was generated from the following files: