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

Namespaces

 GD
 

Macros

#define VW_DEBUG_LOG   vw_dbg::gd_predict
 

Functions

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

Macro Definition Documentation

#define VW_DEBUG_LOG   vw_dbg::gd_predict