|
template<class DataT , void(*)(DataT &, float feature_value, uint64_t feature_index) FuncT, class WeightsT > |
void | foreach_feature (WeightsT &weights, const VW::features &fs, DataT &dat, uint64_t offset=0, float mult=1.) |
|
template<class DataT , void(*)(DataT &, float, float) FuncT, class WeightsT > |
void | foreach_feature (const WeightsT &weights, const VW::features &fs, DataT &dat, uint64_t offset=0, float mult=1.) |
|
template<class DataT , class WeightOrIndexT , void(*)(DataT &, float, WeightOrIndexT) FuncT, 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_interacted_features, VW::details::generate_interactions_object_cache &cache) |
|
template<class DataT , class WeightOrIndexT , void(*)(DataT &, float, WeightOrIndexT) FuncT, class WeightsT > |
void | foreach_feature (WeightsT &weights, bool ignore_some_linear, std::array< bool, VW::NUM_NAMESPACES > &ignore_linear, 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, size_t &num_interacted_features, VW::details::generate_interactions_object_cache &cache) |
|
template<class DataT , class WeightOrIndexT , void(*)(DataT &, float, WeightOrIndexT) FuncT, class WeightsT > |
void | foreach_feature (WeightsT &weights, bool ignore_some_linear, std::array< bool, VW::NUM_NAMESPACES > &ignore_linear, 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, VW::details::generate_interactions_object_cache &cache) |
|
template<class WeightsT > |
float | inline_predict (WeightsT &weights, bool ignore_some_linear, std::array< bool, VW::NUM_NAMESPACES > &ignore_linear, 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, VW::details::generate_interactions_object_cache &cache, float initial=0.f) |
|
template<class WeightsT > |
float | inline_predict (WeightsT &weights, bool ignore_some_linear, std::array< bool, VW::NUM_NAMESPACES > &ignore_linear, 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, size_t &num_interacted_features, VW::details::generate_interactions_object_cache &cache, float initial=0.f) |
|
template<class DataT , class WeightOrIndexT , void(*)(DataT &, float, WeightOrIndexT) FuncT> |
void | foreach_feature (VW::workspace &all, VW::example &ec, DataT &dat) |
|
template<class DataT , class WeightOrIndexT , void(*)(DataT &, float, WeightOrIndexT) FuncT> |
void | foreach_feature (VW::workspace &all, VW::example &ec, DataT &dat, size_t &num_interacted_features) |
|
template<class DataT , void(*)(DataT &, float, float &) FuncT> |
void | foreach_feature (VW::workspace &all, VW::example &ec, DataT &dat) |
|
template<class DataT , void(*)(DataT &, float, float &) FuncT> |
void | foreach_feature (VW::workspace &all, VW::example &ec, DataT &dat, size_t &num_interacted_features) |
|
float | inline_predict (VW::workspace &all, VW::example &ec) |
|
float | inline_predict (VW::workspace &all, VW::example &ec, size_t &num_generated_features) |
|
float | trunc_weight (const float w, const float gravity) |
|