Vowpal Wabbit
|
#include <cost_sensitive.h>
Public Member Functions | |
cs_class (float x, uint32_t class_index, float partial_prediction, float wap_value) | |
cs_class ()=default | |
bool | operator== (const cs_class &j) const |
Public Attributes | |
float | x {} |
uint32_t | class_index {} |
float | partial_prediction {} |
float | wap_value {} |
if class_index > 0, then this is a "normal" example if class_index == 0, then: if x == -FLT_MAX then this is a 'shared' example if x > 0 then this is a label feature vector for (size_t)x
|
inline |
|
default |
|
inline |
uint32_t VW::cs_class::class_index {} |
float VW::cs_class::partial_prediction {} |
float VW::cs_class::wap_value {} |
float VW::cs_class::x {} |