Vowpal Wabbit
Public Member Functions | Public Attributes | List of all members
COST_SENSITIVE::wclass Struct Reference

#include <cost_sensitive.h>

Public Member Functions

bool operator== (wclass j)
 

Public Attributes

float x
 
uint32_t class_index
 
float partial_prediction
 
float wap_value
 

Detailed Description

Definition at line 15 of file cost_sensitive.h.

Member Function Documentation

◆ operator==()

bool COST_SENSITIVE::wclass::operator== ( wclass  j)
inline

Definition at line 21 of file cost_sensitive.h.

References class_index.

21 { return class_index == j.class_index; }

Member Data Documentation

◆ class_index

uint32_t COST_SENSITIVE::wclass::class_index

◆ partial_prediction

float COST_SENSITIVE::wclass::partial_prediction

Definition at line 19 of file cost_sensitive.h.

Referenced by COST_SENSITIVE::output_example(), and predict_or_learn().

◆ wap_value

float COST_SENSITIVE::wclass::wap_value

Definition at line 20 of file cost_sensitive.h.

◆ x

float COST_SENSITIVE::wclass::x

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