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

Classes

struct  INTERACTIONS::feature_gen_data
 

Namespaces

 INTERACTIONS
 

Functions

template<class DataT , void(*)(DataT &, const float, float &) FuncT, class WeightsT >
void INTERACTIONS::call_FuncT (DataT &dat, WeightsT &weights, const float ft_value, const uint64_t ft_idx)
 
template<class DataT , void(*)(DataT &, const float, float) FuncT, class WeightsT >
void INTERACTIONS::call_FuncT (DataT &dat, const WeightsT &weights, const float ft_value, const uint64_t ft_idx)
 
float INTERACTIONS::INTERACTION_VALUE (float value1, float value2)
 
template<class DataT , class WeightOrIndexT , void(*)(DataT &, float, WeightOrIndexT) FuncT, bool audit, void(*)(DataT &, const audit_strings *) audit_func, class WeightsT >
void INTERACTIONS::inner_kernel (DataT &dat, features::const_audit_iterator &begin, features::const_audit_iterator &end, const uint64_t offset, WeightsT &weights, feature_value ft_value, feature_index halfhash)
 
template<class DataT , class WeightOrIndexT , void(*)(DataT &, float, WeightOrIndexT) FuncT, bool audit, void(*)(DataT &, const audit_strings *) audit_func, class WeightsT >
void INTERACTIONS::generate_interactions (const std::vector< std::vector< namespace_index >> &interactions, bool permutations, example_predict &ec, DataT &dat, WeightsT &weights, size_t &num_features)
 

Variables

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

Variable Documentation

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