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.

List of all members.

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

Parameters:
j another feature object
Returns:
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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation