Vowpal Wabbit
|
the core definition of a set of features. More...
#include <feature_group.h>
Classes | |
class | features_value_index_audit_range |
defines a "range" usable by C++ 11 for loops More... | |
Public Types | |
using | iterator = features_value_index_iterator |
using | iterator_value = features_value_iterator |
using | iterator_all = features_value_index_audit_iterator |
Public Member Functions | |
features () | |
~features () | |
features (const features &)=delete | |
features & | operator= (const features &)=delete |
features (features &&other) noexcept | |
features & | operator= (features &&other) noexcept |
size_t | size () const |
bool | nonempty () const |
void | free_space_names (size_t i) |
features_value_index_audit_range | values_indices_audit () |
iterator | begin () |
iterator | end () |
void | clear () |
void | truncate_to (const features_value_iterator &pos) |
void | truncate_to (size_t i) |
void | push_back (feature_value v, feature_index i) |
bool | sort (uint64_t parse_mask) |
void | deep_copy_from (const features &src) |
Public Attributes | |
v_array< feature_value > | values |
v_array< feature_index > | indicies |
std::vector< audit_strings_ptr > | space_names |
float | sum_feat_sq |
the core definition of a set of features.
features::features | ( | ) |
features::~features | ( | ) |
|
delete |
|
noexcept |
|
inline |
void features::clear | ( | ) |
void features::deep_copy_from | ( | const features & | src | ) |
|
inline |
void features::free_space_names | ( | size_t | i | ) |
|
inline |
void features::push_back | ( | feature_value | v, |
feature_index | i | ||
) |
|
inline |
bool features::sort | ( | uint64_t | parse_mask | ) |
void features::truncate_to | ( | const features_value_iterator & | pos | ) |
void features::truncate_to | ( | size_t | i | ) |
|
inline |
v_array<feature_index> features::indicies |
std::vector<audit_strings_ptr> features::space_names |
float features::sum_feat_sq |
v_array<feature_value> features::values |