Vowpal Wabbit
Typedefs | Variables
constant.h File Reference

Go to the source code of this file.

Typedefs

typedef float weight
 

Variables

constexpr int quadratic_constant = 27942141
 
constexpr int cubic_constant = 21791
 
constexpr int cubic_constant2 = 37663
 
constexpr int affix_constant = 13903957
 
constexpr uint64_t constant = 11650396
 
constexpr float probability_tolerance = 1e-5f
 
constexpr uint32_t FNV_prime = 16777619
 
constexpr unsigned char default_namespace = 32
 
constexpr unsigned char wap_ldf_namespace = 126
 
constexpr unsigned char history_namespace = 127
 
constexpr unsigned char constant_namespace = 128
 
constexpr unsigned char nn_output_namespace = 129
 
constexpr unsigned char autolink_namespace = 130
 
constexpr unsigned char neighbor_namespace
 
constexpr unsigned char affix_namespace = 132
 
constexpr unsigned char spelling_namespace = 133
 
constexpr unsigned char conditioning_namespace = 134
 
constexpr unsigned char dictionary_namespace = 135
 
constexpr unsigned char node_id_namespace = 136
 
constexpr unsigned char message_namespace = 137
 
constexpr unsigned char ccb_slot_namespace = 139
 
constexpr unsigned char ccb_id_namespace = 140
 
constexpr size_t NUM_NAMESPACES = 256
 

Typedef Documentation

◆ weight

typedef float weight

Definition at line 36 of file constant.h.

Variable Documentation

◆ affix_constant

constexpr int affix_constant = 13903957

Definition at line 10 of file constant.h.

Referenced by TC_parser< audit >::maybeFeature().

◆ affix_namespace

constexpr unsigned char affix_namespace = 132

Definition at line 27 of file constant.h.

Referenced by TC_parser< audit >::maybeFeature().

◆ autolink_namespace

constexpr unsigned char autolink_namespace = 130

Definition at line 24 of file constant.h.

Referenced by VW::autolink::prepare_example(), and VW::autolink::reset_example().

◆ ccb_id_namespace

constexpr unsigned char ccb_id_namespace = 140

◆ ccb_slot_namespace

constexpr unsigned char ccb_slot_namespace = 139

Definition at line 33 of file constant.h.

Referenced by CCB::inject_slot_features(), and CCB::remove_slot_features().

◆ conditioning_namespace

constexpr unsigned char conditioning_namespace = 134

◆ constant

constexpr uint64_t constant = 11650396

◆ constant_namespace

constexpr unsigned char constant_namespace = 128

◆ cubic_constant

constexpr int cubic_constant = 21791

Definition at line 8 of file constant.h.

◆ cubic_constant2

constexpr int cubic_constant2 = 37663

Definition at line 9 of file constant.h.

◆ default_namespace

constexpr unsigned char default_namespace = 32

Definition at line 19 of file constant.h.

Referenced by CCB::inject_slot_features(), and CCB::remove_slot_features().

◆ dictionary_namespace

constexpr unsigned char dictionary_namespace = 135

Definition at line 30 of file constant.h.

Referenced by TC_parser< audit >::maybeFeature().

◆ FNV_prime

constexpr uint32_t FNV_prime = 16777619

◆ history_namespace

constexpr unsigned char history_namespace = 127

Definition at line 21 of file constant.h.

◆ message_namespace

constexpr unsigned char message_namespace = 137

◆ neighbor_namespace

constexpr unsigned char neighbor_namespace

◆ nn_output_namespace

constexpr unsigned char nn_output_namespace = 129

Definition at line 23 of file constant.h.

Referenced by finish_setup(), and predict_or_learn_multi().

◆ node_id_namespace

constexpr unsigned char node_id_namespace = 136

◆ NUM_NAMESPACES

constexpr size_t NUM_NAMESPACES = 256

Definition at line 38 of file constant.h.

◆ probability_tolerance

constexpr float probability_tolerance = 1e-5f

Definition at line 13 of file constant.h.

◆ quadratic_constant

constexpr int quadratic_constant = 27942141

◆ spelling_namespace

constexpr unsigned char spelling_namespace = 133

Definition at line 28 of file constant.h.

Referenced by TC_parser< audit >::maybeFeature().

◆ wap_ldf_namespace

constexpr unsigned char wap_ldf_namespace = 126