|
Vowpal Wabbit
|
Classes | |
| struct | labels |
Functions | |
| char * | bufread_label (labels *ld, char *c, io_buf &cache) |
| size_t | read_cached_label (shared_data *, void *v, io_buf &cache) |
| float | weight (void *) |
| char * | bufcache_label (labels *ld, char *c) |
| 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 *, void *v, v_array< substring > &words) |
| void | print_update (vw &all, bool is_test, example &ec) |
| void | output_example (vw &all, example &ec) |
| void | print_update (vw &all, bool is_test, example &ec, const v_array< example *> *ec_seq) |
Variables | |
| label_parser | multilabel |
| char* MULTILABEL::bufcache_label | ( | labels * | ld, |
| char * | c | ||
| ) |
Definition at line 43 of file multilabel.cc.
References c, MULTILABEL::labels::label_v, and v_array< T >::size().
Referenced by cache_label().
Definition at line 7 of file multilabel.cc.
References io_buf::buf_read(), c, v_array< T >::clear(), MULTILABEL::labels::label_v, and v_array< T >::push_back().
Referenced by read_cached_label().
| void MULTILABEL::cache_label | ( | void * | v, |
| io_buf & | cache | ||
| ) |
Definition at line 55 of file multilabel.cc.
References io_buf::buf_write(), bufcache_label(), c, MULTILABEL::labels::label_v, and v_array< T >::size().
| void MULTILABEL::copy_label | ( | void * | dst, |
| void * | src | ||
| ) |
Definition at line 82 of file multilabel.cc.
References copy_array(), and MULTILABEL::labels::label_v.
| void MULTILABEL::default_label | ( | void * | v | ) |
Definition at line 63 of file multilabel.cc.
References v_array< T >::clear(), and MULTILABEL::labels::label_v.
| void MULTILABEL::delete_label | ( | void * | v | ) |
Definition at line 75 of file multilabel.cc.
References v_array< T >::delete_v(), and MULTILABEL::labels::label_v.
Definition at line 140 of file multilabel.cc.
References f, vw::final_prediction_sink, example::l, MULTILABEL::labels::label_v, loss(), polylabel::multilabels, polyprediction::multilabels, example::num_features, example::pred, vw::print_text, print_update(), vw::sd, v_array< T >::size(), example::tag, test_label(), example::test_only, and shared_data::update().
Referenced by finish_example().
| void MULTILABEL::parse_label | ( | parser * | p, |
| shared_data * | , | ||
| void * | v, | ||
| v_array< substring > & | words | ||
| ) |
Definition at line 92 of file multilabel.cc.
References v_array< T >::begin(), v_array< T >::clear(), v_array< T >::end(), MULTILABEL::labels::label_v, parser::parse_name, v_array< T >::push_back(), v_array< T >::size(), and tokenize().
| void MULTILABEL::print_update | ( | vw & | all, |
| bool | is_test, | ||
| example & | ec, | ||
| const v_array< example *> * | ec_seq | ||
| ) |
Definition at line 121 of file multilabel.cc.
References vw::bfgs, vw::current_pass, shared_data::dump_interval, vw::holdout_set_off, example::l, MULTILABEL::labels::label_v, polylabel::multilabels, polyprediction::multilabels, example::num_features, example::pred, shared_data::print_update(), vw::progress_add, vw::progress_arg, vw::quiet, vw::sd, v_array< T >::size(), and shared_data::weighted_examples().
Referenced by output_example().
| size_t MULTILABEL::read_cached_label | ( | shared_data * | , |
| void * | v, | ||
| io_buf & | cache | ||
| ) |
Definition at line 28 of file multilabel.cc.
References io_buf::buf_read(), bufread_label(), c, v_array< T >::clear(), and MULTILABEL::labels::label_v.
| bool MULTILABEL::test_label | ( | void * | v | ) |
Definition at line 69 of file multilabel.cc.
References MULTILABEL::labels::label_v, and v_array< T >::size().
Referenced by output_example().
| float MULTILABEL::weight | ( | void * | ) |
Definition at line 41 of file multilabel.cc.
| label_parser MULTILABEL::multilabel |
Definition at line 118 of file multilabel.cc.
Referenced by COST_SENSITIVE::finish_example(), memory_tree_setup(), and multilabel_oaa_setup().
1.8.13