Vowpal Wabbit
Namespaces | Functions
gd_predict.h File Reference
#include "interactions_predict.h"
#include "v_array.h"

Namespaces

 GD
 

Functions

template<class R , void(*)(R &, float, uint64_t) T, class W >
void GD::foreach_feature (W &, features &fs, R &dat, uint64_t offset=0, float mult=1.)
 
template<class R , void(*)(R &, const float, const float &) T, class W >
void GD::foreach_feature (const W &weights, features &fs, R &dat, uint64_t offset=0, float mult=1.)
 
template<class R >
void GD::dummy_func (R &, const audit_strings *)
 
template<class R , class S , void(*)(R &, float, S) T, class W >
void GD::generate_interactions (std::vector< std::vector< namespace_index >> &interactions, bool permutations, example_predict &ec, R &dat, W &weights)
 
template<class R , class S , void(*)(R &, float, S) T, class W >
void GD::foreach_feature (W &weights, bool ignore_some_linear, std::array< bool, NUM_NAMESPACES > &ignore_linear, std::vector< std::vector< namespace_index >> &interactions, bool permutations, example_predict &ec, R &dat)
 
void GD::vec_add (float &p, const float fx, const float &fw)
 
template<class W >
float GD::inline_predict (W &weights, bool ignore_some_linear, std::array< bool, NUM_NAMESPACES > &ignore_linear, std::vector< std::vector< namespace_index >> &interactions, bool permutations, example_predict &ec, float initial=0.f)