Vowpal Wabbit
Typedefs | Functions
LabelDict Namespace Reference

Typedefs

typedef std::unordered_map< size_t, featureslabel_feature_map
 

Functions

bool size_t_eq (const size_t &a, const size_t &b)
 
void add_example_namespace (example &ec, namespace_index ns, features &fs)
 
void del_example_namespace (example &ec, namespace_index ns, features &fs)
 
void set_label_features (label_feature_map &lfm, size_t lab, features &fs)
 
void add_example_namespaces_from_example (example &target, example &source)
 
void del_example_namespaces_from_example (example &target, example &source)
 
void add_example_namespace_from_memory (label_feature_map &lfm, example &ec, size_t lab)
 
void del_example_namespace_from_memory (label_feature_map &lfm, example &ec, size_t lab)
 

Typedef Documentation

typedef std::unordered_map<size_t, features> LabelDict::label_feature_map

Function Documentation

void LabelDict::add_example_namespace ( example ec,
namespace_index  ns,
features fs 
)
void LabelDict::add_example_namespace_from_memory ( label_feature_map lfm,
example ec,
size_t  lab 
)
void LabelDict::add_example_namespaces_from_example ( example target,
example source 
)
void LabelDict::del_example_namespace ( example ec,
namespace_index  ns,
features fs 
)
void LabelDict::del_example_namespace_from_memory ( label_feature_map lfm,
example ec,
size_t  lab 
)
void LabelDict::del_example_namespaces_from_example ( example target,
example source 
)
void LabelDict::set_label_features ( label_feature_map lfm,
size_t  lab,
features fs 
)
bool LabelDict::size_t_eq ( const size_t &  a,
const size_t &  b 
)
inline