Vowpal Wabbit
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
feature_group.h File Reference
#include "vw/common/future_compat.h"
#include "vw/core/generic_range.h"
#include "vw/core/v_array.h"
#include <algorithm>
#include <cstddef>
#include <iterator>
#include <memory>
#include <numeric>
#include <sstream>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>

Classes

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

Namespaces

namespace  VW
 
namespace  VW::details
 

Typedefs

using VW::feature_value = float
 
using VW::feature_index = uint64_t
 
using VW::extent_term = std::pair< namespace_index, uint64_t >
 
using feature_value = VW::feature_value
 
using feature_index = VW::feature_index
 
using namespace_index = VW::namespace_index
 
using extent_term = VW::extent_term
 
using audit_strings = VW::audit_strings
 
using features = VW::features
 
using feature = VW::feature
 

Functions

std::string VW::to_string (const audit_strings &ai)
 
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)
 
float VW::features_dot_product (const features &fs1, const features &fs2)
 

Typedef Documentation

◆ audit_strings

◆ extent_term

◆ feature

◆ feature_index

◆ feature_value

◆ features

◆ namespace_index