Vowpal Wabbit
Loading...
Searching...
No Matches
Classes | Typedefs | Enumerations | Functions
VW::reductions::eigen_memory_tree Namespace Reference

Classes

struct  emt_example
 
struct  emt_lru
 
struct  emt_node
 
struct  emt_tree
 

Typedefs

using emt_feats = std::vector< std::pair< uint64_t, float > >
 

Enumerations

enum class  emt_scorer_type : uint32_t { RANDOM = 1 , DISTANCE = 2 , SELF_CONSISTENT_RANK = 3 , NOT_SELF_CONSISTENT_RANK = 4 }
 
enum class  emt_router_type : uint32_t { RANDOM = 1 , EIGEN = 2 }
 
enum class  emt_initial_type : uint32_t { EUCLIDEAN = 1 , GAUSSIAN = 2 , COSINE = 3 , NONE = 4 }
 

Functions

emt_scorer_type emt_scorer_type_from_string (VW::string_view val)
 
emt_router_type emt_router_type_from_string (VW::string_view val)
 
emt_initial_type emt_initial_type_from_string (VW::string_view val)
 
float emt_initial (emt_initial_type initial_type, emt_feats f1, emt_feats f2)
 
float emt_median (std::vector< float > &)
 
float emt_inner (const emt_feats &, const emt_feats &)
 
float emt_norm (const emt_feats &)
 
void emt_scale (emt_feats &, float)
 
void emt_normalize (emt_feats &)
 
emt_feats emt_scale_add (float, const emt_feats &, float, const emt_feats &)
 
emt_feats emt_router_eigen (std::vector< emt_feats > &, VW::rand_state &)
 
template<typename RandomIt >
void emt_shuffle (RandomIt first, RandomIt last, VW::rand_state &rng)
 

Typedef Documentation

◆ emt_feats

using VW::reductions::eigen_memory_tree::emt_feats = typedef std::vector<std::pair<uint64_t, float> >

Enumeration Type Documentation

◆ emt_initial_type

Enumerator
EUCLIDEAN 
GAUSSIAN 
COSINE 
NONE 

◆ emt_router_type

Enumerator
RANDOM 
EIGEN 

◆ emt_scorer_type

Enumerator
RANDOM 
DISTANCE 
SELF_CONSISTENT_RANK 
NOT_SELF_CONSISTENT_RANK 

Function Documentation

◆ emt_initial()

float VW::reductions::eigen_memory_tree::emt_initial ( emt_initial_type  initial_type,
emt_feats  f1,
emt_feats  f2 
)

◆ emt_initial_type_from_string()

emt_initial_type VW::reductions::eigen_memory_tree::emt_initial_type_from_string ( VW::string_view  val)

◆ emt_inner()

float VW::reductions::eigen_memory_tree::emt_inner ( const emt_feats ,
const emt_feats  
)

◆ emt_median()

float VW::reductions::eigen_memory_tree::emt_median ( std::vector< float > &  )

◆ emt_norm()

float VW::reductions::eigen_memory_tree::emt_norm ( const emt_feats )

◆ emt_normalize()

void VW::reductions::eigen_memory_tree::emt_normalize ( emt_feats )

◆ emt_router_eigen()

emt_feats VW::reductions::eigen_memory_tree::emt_router_eigen ( std::vector< emt_feats > &  ,
VW::rand_state  
)

◆ emt_router_type_from_string()

emt_router_type VW::reductions::eigen_memory_tree::emt_router_type_from_string ( VW::string_view  val)

◆ emt_scale()

void VW::reductions::eigen_memory_tree::emt_scale ( emt_feats ,
float   
)

◆ emt_scale_add()

emt_feats VW::reductions::eigen_memory_tree::emt_scale_add ( float  ,
const emt_feats ,
float  ,
const emt_feats  
)

◆ emt_scorer_type_from_string()

emt_scorer_type VW::reductions::eigen_memory_tree::emt_scorer_type_from_string ( VW::string_view  val)

◆ emt_shuffle()

template<typename RandomIt >
void VW::reductions::eigen_memory_tree::emt_shuffle ( RandomIt  first,
RandomIt  last,
VW::rand_state rng 
)