Vowpal Wabbit
|
#include <global_data.h>
Public Member Functions | |
namedlabels (std::string label_list) | |
~namedlabels () | |
uint32_t | getK () |
uint64_t | get (substring &s) |
substring | get (uint32_t v) |
Private Attributes | |
std::vector< substring > | id2name |
v_hashmap< substring, uint64_t > | name2id |
uint32_t | K |
Definition at line 64 of file global_data.h.
|
inline |
Definition at line 72 of file global_data.h.
References substring::begin, v_hashmap< K, V >::delete_v(), substring::end, v_hashmap< K, V >::get(), v_hashmap< K, V >::init(), v_hashmap< K, V >::put(), substring_equal(), THROW, tokenize(), and uniform_hash().
|
inline |
Definition at line 98 of file global_data.h.
References v_hashmap< K, V >::delete_v(), deleter(), and v_hashmap< K, V >::iter().
Referenced by VW::finish().
|
inline |
Definition at line 108 of file global_data.h.
References c, v_hashmap< K, V >::get(), and uniform_hash().
Referenced by MULTICLASS::finish_example(), finish_example_scores(), COST_SENSITIVE::output_example(), MULTICLASS::parse_label(), COST_SENSITIVE::parse_label(), Search::search::pretty_label(), MULTICLASS::print_label_pred(), and COST_SENSITIVE::print_update().
|
inline |
Definition at line 121 of file global_data.h.
|
inline |
Definition at line 106 of file global_data.h.
Referenced by oaa_setup(), and parse_example_tweaks().
|
private |
Definition at line 67 of file global_data.h.
|
private |
Definition at line 69 of file global_data.h.
Definition at line 68 of file global_data.h.