Vowpal Wabbit
|
the core definition of a set of features. More...
#include <feature_group.h>
Public Types | |
using | iterator = features_iterator< feature_value, feature_index > |
using | const_iterator = features_iterator< const feature_value, const feature_index > |
using | audit_iterator = audit_features_iterator< feature_value, feature_index, audit_strings > |
using | const_audit_iterator = audit_features_iterator< const feature_value, const feature_index, const audit_strings > |
Public Attributes | |
v_array< feature_value > | values |
v_array< feature_index > | indicies |
std::vector< audit_strings > | space_names |
float | sum_feat_sq = 0.f |
the core definition of a set of features.
using features::audit_iterator = audit_features_iterator<feature_value, feature_index, audit_strings> |
using features::const_audit_iterator = audit_features_iterator<const feature_value, const feature_index, const audit_strings> |
using features::const_iterator = features_iterator<const feature_value, const feature_index> |
|
default |
|
default |
|
default |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void features::clear | ( | ) |
void features::concat | ( | const features & | other | ) |
void features::deep_copy_from | ( | const features & | src | ) |
|
inline |
|
inline |
|
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 audit_iterator & | pos | ) |
void features::truncate_to | ( | const iterator & | pos | ) |
void features::truncate_to | ( | size_t | i | ) |
v_array<feature_index> features::indicies |
std::vector<audit_strings> features::space_names |
float features::sum_feat_sq = 0.f |
v_array<feature_value> features::values |