Vowpal Wabbit
Classes | Namespaces | Macros | Functions | Variables
interactions_predict.h File Reference
#include <cstdint>
#include "constant.h"
#include "feature_group.h"
#include <vector>
#include <string>

Classes

struct  INTERACTIONS::feature_gen_data
 

Namespaces

 INTERACTIONS
 

Macros

#define PROCESS_SELF_INTERACTIONS(ft_value)   feature_self_interactions
 

Functions

template<class R , void(*)(R &, const float, float &) T, class W >
void INTERACTIONS::call_T (R &dat, W &weights, const float ft_value, const uint64_t ft_idx)
 
template<class R , void(*)(R &, const float, const float &) T, class W >
void INTERACTIONS::call_T (R &dat, const W &weights, const float ft_value, const uint64_t ft_idx)
 
float INTERACTIONS::INTERACTION_VALUE (float value1, float value2)
 
template<class R , class S , void(*)(R &, float, S) T, bool audit, void(*)(R &, const audit_strings *) audit_func, class W >
void INTERACTIONS::inner_kernel (R &dat, features::iterator_all &begin, features::iterator_all &end, const uint64_t offset, W &weights, feature_value ft_value, feature_index halfhash)
 
template<class R , class S , void(*)(R &, float, S) T, bool audit, void(*)(R &, const audit_strings *) audit_func, class W >
void INTERACTIONS::generate_interactions (std::vector< std::vector< namespace_index >> &interactions, bool permutations, example_predict &ec, R &dat, W &weights)
 

Variables

static const std::pair< std::string, std::string > EMPTY_AUDIT_STRINGS = std::make_pair("", "")
 
constexpr bool INTERACTIONS::feature_self_interactions = true
 

Macro Definition Documentation

#define PROCESS_SELF_INTERACTIONS (   ft_value)    feature_self_interactions

Variable Documentation

const std::pair<std::string, std::string> EMPTY_AUDIT_STRINGS = std::make_pair("", "")
static