Vowpal Wabbit
|
Functions | |
constexpr bool | is_interaction_ns (const unsigned char ns) |
bool | contains_wildcard (const std::vector< VW::namespace_index > &interaction) |
bool | contains_wildcard (const std::vector< VW::extent_term > &interaction) |
float | eval_sum_ft_squared_of_generated_ft (bool permutations, const std::vector< std::vector< VW::namespace_index > > &interactions, const std::vector< std::vector< VW::extent_term > > &extent_interactions, const std::array< VW::features, VW::NUM_NAMESPACES > &feature_spaces) |
template<typename T > | |
void | sort_and_filter_duplicate_interactions (std::vector< std::vector< T > > &vec, bool filter_duplicates, size_t &removed_cnt, size_t &sorted_cnt) |
template<class DataT , class WeightOrIndexT , void(*)(DataT &, float, WeightOrIndexT) FuncT, bool audit, void(*)(DataT &, const VW::audit_strings *) audit_func, class WeightsT > | |
void | generate_interactions (const std::vector< std::vector< VW::namespace_index > > &interactions, const std::vector< std::vector< VW::extent_term > > &extent_interactions, bool permutations, VW::example_predict &ec, DataT &dat, WeightsT &weights, size_t &num_features, VW::details::generate_interactions_object_cache &cache) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineconstexpr |
void INTERACTIONS::sort_and_filter_duplicate_interactions | ( | std::vector< std::vector< T > > & | vec, |
bool | filter_duplicates, | ||
size_t & | removed_cnt, | ||
size_t & | sorted_cnt | ||
) |