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
 
base_learnerbase
 
fn learn_f
 
fn predict_f
 
fn update_f
 
multi_fn multipredict_f
 

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
void* VW::LEARNER::learn_data::data
fn VW::LEARNER::learn_data::learn_f
multi_fn VW::LEARNER::learn_data::multipredict_f
fn VW::LEARNER::learn_data::predict_f
fn VW::LEARNER::learn_data::update_f

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