SHOGUN  v3.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 32 of file vw_example.h.

Public Member Functions

bool operator== (VwFeature j)

Public Attributes

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

Member Function Documentation

bool operator== ( VwFeature  j)

Overloaded equals operator

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

Definition at line 48 of file vw_example.h.

Member Data Documentation

uint32_t weight_index

Hashed index in weight vector.

Definition at line 39 of file vw_example.h.

Feature value.

Definition at line 36 of file vw_example.h.

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

SHOGUN Machine Learning Toolbox - Documentation