Vowpal Wabbit
Classes | Namespaces | Typedefs | Functions
feature_group.h File Reference
#include "v_array.h"
#include "future_compat.h"
#include "generic_range.h"
#include <iterator>
#include <utility>
#include <memory>
#include <string>
#include <algorithm>
#include <cstddef>
#include <numeric>
#include <vector>
#include <type_traits>

Classes

struct  feature
 
struct  VW::namespace_extent
 
class  audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >
 
class  ns_extent_iterator< features_t, audit_features_iterator_t, extent_it >
 
class  features_iterator< feature_value_type_t, feature_index_type_t >
 
struct  features
 the core definition of a set of features. More...
 

Namespaces

 VW
 
 VW::details
 

Typedefs

using feature_value = float
 
using feature_index = uint64_t
 
using audit_strings = std::pair< std::string, std::string >
 
using namespace_index = unsigned char
 
using extent_term = std::pair< namespace_index, uint64_t >
 

Functions

std::vector< std::pair< bool, uint64_t > > VW::details::flatten_namespace_extents (const std::vector< namespace_extent > &extents, size_t overall_feature_space_size)
 
std::vector< namespace_extent > VW::details::unflatten_namespace_extents (const std::vector< std::pair< bool, uint64_t >> &extents)
 

Typedef Documentation

◆ audit_strings

using audit_strings = std::pair<std::string, std::string>

◆ extent_term

using extent_term = std::pair<namespace_index, uint64_t>

◆ feature_index

using feature_index = uint64_t

◆ feature_value

using feature_value = float

◆ namespace_index

using namespace_index = unsigned char