SHOGUN  6.1.3
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

◆ operator==()

bool operator== ( VwFeature  j)

Overloaded equals operator

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

Definition at line 50 of file vw_example.h.

Member Data Documentation

◆ weight_index

uint32_t weight_index

Hashed index in weight vector.

Definition at line 41 of file vw_example.h.

◆ x

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