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

Go to the source code of this file.

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::string > &interactions, bool permutations, example_predict &ec, R &dat, W &weights)
 

Variables

constexpr bool INTERACTIONS::feature_self_interactions = true
 

Macro Definition Documentation

◆ PROCESS_SELF_INTERACTIONS

#define PROCESS_SELF_INTERACTIONS (   ft_value)    feature_self_interactions