Vowpal Wabbit
Public Types | Public Attributes | List of all members
VW::LEARNER::learn_data Struct Reference

#include <learner.h>

Public Types

using fn = void(*)(void *data, base_learner &base, void *ex)
 
using multi_fn = void(*)(void *data, base_learner &base, void *ex, size_t count, size_t step, polyprediction *pred, bool finalize_predictions)
 

Public Attributes

void * data = nullptr
 
base_learnerbase = nullptr
 
fn learn_f = nullptr
 
fn predict_f = nullptr
 
fn update_f = nullptr
 
multi_fn multipredict_f = nullptr
 

Member Typedef Documentation

using VW::LEARNER::learn_data::fn = void (*)(void* data, base_learner& base, void* ex)
using VW::LEARNER::learn_data::multi_fn = void (*)(void* data, base_learner& base, void* ex, size_t count, size_t step, polyprediction* pred, bool finalize_predictions)

Member Data Documentation

base_learner* VW::LEARNER::learn_data::base = nullptr
void* VW::LEARNER::learn_data::data = nullptr
fn VW::LEARNER::learn_data::learn_f = nullptr
multi_fn VW::LEARNER::learn_data::multipredict_f = nullptr
fn VW::LEARNER::learn_data::predict_f = nullptr
fn VW::LEARNER::learn_data::update_f = nullptr

The documentation for this struct was generated from the following file: