Vowpal Wabbit
Namespaces | Functions | Variables
interactions.h File Reference
#include "global_data.h"
#include "interactions_predict.h"

Namespaces

 INTERACTIONS
 

Functions

constexpr bool INTERACTIONS::is_printable_namespace (const unsigned char ns)
 
std::vector< std::vector< namespace_index > > INTERACTIONS::expand_interactions (const std::vector< std::vector< namespace_index >> &vec, const size_t required_length, const std::string &err_msg)
 
void INTERACTIONS::sort_and_filter_duplicate_interactions (std::vector< std::vector< namespace_index >> &vec, bool filter_duplicates, size_t &removed_cnt, size_t &sorted_cnt)
 
void INTERACTIONS::eval_count_of_generated_ft (vw &all, example &ec, size_t &new_features_cnt, float &new_features_value)
 
template<class R , class S , void(*)(R &, float, S) T, bool audit, void(*)(R &, const audit_strings *) audit_func>
void INTERACTIONS::generate_interactions (vw &all, example_predict &ec, R &dat)
 
template<class R , class S , void(*)(R &, float, S) T>
void INTERACTIONS::generate_interactions (vw &all, example_predict &ec, R &dat)
 
int64_t INTERACTIONS::choose (int64_t n, int64_t k)
 

Variables

constexpr unsigned char INTERACTIONS::printable_start = ' '
 
constexpr unsigned char INTERACTIONS::printable_end = '~'
 
constexpr unsigned char INTERACTIONS::printable_ns_size = printable_end - printable_start
 
constexpr uint64_t INTERACTIONS::valid_ns_size