Vowpal Wabbit
|
Classes | |
struct | label |
Functions | |
float | weight (void *v) |
size_t | read_cached_label (shared_data *sd, void *v, io_buf &cache) |
void | cache_label (void *v, io_buf &cache) |
void | default_label (void *v) |
bool | test_label (void *v) |
void | delete_label (void *v) |
void | copy_label (void *dst, void *src) |
void | parse_label (parser *p, shared_data *sd, void *v, v_array< substring > &words) |
Variables | |
label_parser | cb_eval |
void CB_EVAL::cache_label | ( | void * | v, |
io_buf & | cache | ||
) |
Definition at line 239 of file cb.cc.
References CB_EVAL::label::action, io_buf::buf_write(), c, CB::cache_label(), and CB_EVAL::label::event.
void CB_EVAL::copy_label | ( | void * | dst, |
void * | src | ||
) |
Definition at line 268 of file cb.cc.
References CB_EVAL::label::action, CB::copy_label(), and CB_EVAL::label::event.
void CB_EVAL::default_label | ( | void * | v | ) |
Definition at line 249 of file cb.cc.
References CB_EVAL::label::action, CB::default_label(), and CB_EVAL::label::event.
void CB_EVAL::delete_label | ( | void * | v | ) |
Definition at line 262 of file cb.cc.
References CB::delete_label(), and CB_EVAL::label::event.
void CB_EVAL::parse_label | ( | parser * | p, |
shared_data * | sd, | ||
void * | v, | ||
v_array< substring > & | words | ||
) |
Definition at line 276 of file cb.cc.
References CB_EVAL::label::action, v_array< T >::begin(), CB_EVAL::label::event, hashstring(), CB::parse_label(), v_array< T >::size(), and THROW.
size_t CB_EVAL::read_cached_label | ( | shared_data * | sd, |
void * | v, | ||
io_buf & | cache | ||
) |
Definition at line 227 of file cb.cc.
References CB_EVAL::label::action, io_buf::buf_read(), c, CB_EVAL::label::event, and CB::read_cached_label().
bool CB_EVAL::test_label | ( | void * | v | ) |
Definition at line 256 of file cb.cc.
References CB_EVAL::label::event, and CB::test_label().
float CB_EVAL::weight | ( | void * | v | ) |
Definition at line 221 of file cb.cc.
References CB_EVAL::label::event, and CB::label::weight.
label_parser CB_EVAL::cb_eval |