Vowpal Wabbit
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Enumerations | Functions
eigen_memory_tree.h File Reference
#include "vw/common/random.h"
#include "vw/common/string_view.h"
#include "vw/core/feature_group.h"
#include "vw/core/vw_fwd.h"
#include <list>
#include <memory>
#include <unordered_map>
#include <vector>

Classes

struct  VW::reductions::eigen_memory_tree::emt_example
 
struct  VW::reductions::eigen_memory_tree::emt_lru
 
struct  VW::reductions::eigen_memory_tree::emt_node
 
struct  VW::reductions::eigen_memory_tree::emt_tree
 

Namespaces

namespace  VW
 
namespace  VW::reductions
 
namespace  VW::reductions::eigen_memory_tree
 
namespace  VW::model_utils
 

Typedefs

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

Enumerations

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

Functions

std::shared_ptr< VW::LEARNER::learnerVW::reductions::eigen_memory_tree_setup (VW::setup_base_i &stack_builder)
 
emt_scorer_type VW::reductions::eigen_memory_tree::emt_scorer_type_from_string (VW::string_view val)
 
emt_router_type VW::reductions::eigen_memory_tree::emt_router_type_from_string (VW::string_view val)
 
emt_initial_type VW::reductions::eigen_memory_tree::emt_initial_type_from_string (VW::string_view val)
 
float VW::reductions::eigen_memory_tree::emt_initial (emt_initial_type initial_type, emt_feats f1, emt_feats f2)
 
float VW::reductions::eigen_memory_tree::emt_median (std::vector< float > &)
 
float VW::reductions::eigen_memory_tree::emt_inner (const emt_feats &, const emt_feats &)
 
float VW::reductions::eigen_memory_tree::emt_norm (const emt_feats &)
 
void VW::reductions::eigen_memory_tree::emt_scale (emt_feats &, float)
 
void VW::reductions::eigen_memory_tree::emt_normalize (emt_feats &)
 
emt_feats VW::reductions::eigen_memory_tree::emt_scale_add (float, const emt_feats &, float, const emt_feats &)
 
emt_feats VW::reductions::eigen_memory_tree::emt_router_eigen (std::vector< emt_feats > &, VW::rand_state &)
 
template<typename RandomIt >
void VW::reductions::eigen_memory_tree::emt_shuffle (RandomIt first, RandomIt last, VW::rand_state &rng)
 
size_t VW::model_utils::read_model_field (io_buf &io, reductions::eigen_memory_tree::emt_example &ex)
 
size_t VW::model_utils::write_model_field (io_buf &io, const reductions::eigen_memory_tree::emt_example &ex, const std::string &upstream_name, bool text)
 
size_t VW::model_utils::read_model_field (io_buf &io, reductions::eigen_memory_tree::emt_node &node)
 
size_t VW::model_utils::write_model_field (io_buf &io, const reductions::eigen_memory_tree::emt_node &node, const std::string &upstream_name, bool text)
 
size_t VW::model_utils::read_model_field (io_buf &io, reductions::eigen_memory_tree::emt_tree &tree)
 
size_t VW::model_utils::write_model_field (io_buf &io, const reductions::eigen_memory_tree::emt_tree &tree, const std::string &upstream_name, bool text)