Vowpal Wabbit
Namespaces | Functions | Variables
interactions.cc File Reference
#include "interactions.h"
#include "vw_exception.h"
#include <algorithm>

Go to the source code of this file.

Namespaces

 INTERACTIONS
 

Functions

void INTERACTIONS::expand_namespaces_with_recursion (std::string const &ns, std::vector< std::string > &res, std::string &val, size_t pos)
 
std::vector< std::string > INTERACTIONS::expand_interactions (const std::vector< std::string > &vec, const size_t required_length, const std::string &err_msg)
 
bool INTERACTIONS::must_be_left_sorted (const std::string &oi)
 
void INTERACTIONS::sort_and_filter_duplicate_interactions (std::vector< std::string > &vec, bool filter_duplicates, size_t &removed_cnt, size_t &sorted_cnt)
 
size_t INTERACTIONS::factor (const size_t n, const size_t start_from=1)
 
void INTERACTIONS::eval_count_of_generated_ft (vw &all, example &ec, size_t &new_features_cnt, float &new_features_value)
 

Variables

constexpr int64_t INTERACTIONS::fast_factorial []
 
constexpr size_t INTERACTIONS::size_fast_factorial = sizeof(fast_factorial) / sizeof(*fast_factorial)