SHOGUN  4.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
List of all members | Public Member Functions | Public Attributes
VwFeature Class Reference

Detailed Description

One feature in VW.

Has the value of the feature as a float, and the hashed index of the feature in the weight vector.

Definition at line 34 of file vw_example.h.

Public Member Functions

bool operator== (VwFeature j)
 

Public Attributes

float32_t x
 Feature value. More...
 
uint32_t weight_index
 Hashed index in weight vector. More...
 

Member Function Documentation

bool operator== ( VwFeature  j)

Overloaded equals operator

Parameters
janother feature object
Returns
whether the index of the two features is the same

Definition at line 50 of file vw_example.h.

Member Data Documentation

uint32_t weight_index

Hashed index in weight vector.

Definition at line 41 of file vw_example.h.

Feature value.

Definition at line 38 of file vw_example.h.


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

SHOGUN Machine Learning Toolbox - Documentation