Vowpal Wabbit
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
VW::cb_label Class Reference

#include <cb.h>

Public Member Functions

bool is_test_label () const
 
bool is_labeled () const
 
void reset_to_default ()
 

Public Attributes

std::vector< cb_classcosts
 
float weight = 1.f
 

Member Function Documentation

◆ is_labeled()

bool VW::cb_label::is_labeled ( ) const

◆ is_test_label()

bool VW::cb_label::is_test_label ( ) const

◆ reset_to_default()

void VW::cb_label::reset_to_default ( )

Member Data Documentation

◆ costs

std::vector<cb_class> VW::cb_label::costs

◆ weight

float VW::cb_label::weight = 1.f

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