Vowpal Wabbit
Public Member Functions | List of all members
VW::LEARNER::reduction_no_data_learner_builder< ExampleT, BaseLearnerT > Struct Template Reference

#include <learner.h>

Inheritance diagram for VW::LEARNER::reduction_no_data_learner_builder< ExampleT, BaseLearnerT >:
VW::LEARNER::common_learner_builder< reduction_learner_builder< char, ExampleT, BaseLearnerT >, char, ExampleT, BaseLearnerT >

Public Member Functions

 reduction_no_data_learner_builder (BaseLearnerT *base, const std::string &name)
 
reduction_no_data_learner_builder< ExampleT, BaseLearnerT > & set_prediction_type (prediction_type_t pred_type)
 
reduction_no_data_learner_builder< ExampleT, BaseLearnerT > & set_label_type (label_type_t label_type)
 
reduction_no_data_learner_builder< ExampleT, BaseLearnerT > & set_params_per_weight (size_t params_per_weight)
 
learner< char, ExampleT > * build ()
 
- Public Member Functions inherited from VW::LEARNER::common_learner_builder< reduction_learner_builder< char, ExampleT, BaseLearnerT >, char, ExampleT, BaseLearnerT >
 common_learner_builder (learner< char, ExampleT > *learner, std::unique_ptr< char > &&data, const std::string &name)
 
 common_learner_builder (std::unique_ptr< char > &&data, const std::string &name)
 
reduction_learner_builder< char, ExampleT, BaseLearnerT > & set_predict (void(*fn_ptr)(char &, BaseLearnerT &, ExampleT &))
 
reduction_learner_builder< char, ExampleT, BaseLearnerT > & set_learn (void(*fn_ptr)(char &, BaseLearnerT &, ExampleT &))
 
reduction_learner_builder< char, ExampleT, BaseLearnerT > & set_multipredict (void(*fn_ptr)(char &, BaseLearnerT &, ExampleT &, size_t, size_t, polyprediction *, bool))
 
reduction_learner_builder< char, ExampleT, BaseLearnerT > & set_update (void(*u)(char &data, BaseLearnerT &base, ExampleT &))
 
reduction_learner_builder< char, ExampleT, BaseLearnerT > & set_sensitivity (float(*fn_ptr)(char &data, base_learner &base, example &))
 
reduction_learner_builder< char, ExampleT, BaseLearnerT > & set_learn_returns_prediction (bool learn_returns_prediction)
 
reduction_learner_builder< char, ExampleT, BaseLearnerT > & set_save_load (void(*fn_ptr)(char &, io_buf &, bool, bool))
 
reduction_learner_builder< char, ExampleT, BaseLearnerT > & set_finish (void(*fn_ptr)(char &))
 
reduction_learner_builder< char, ExampleT, BaseLearnerT > & set_end_pass (void(*fn_ptr)(char &))
 
reduction_learner_builder< char, ExampleT, BaseLearnerT > & set_end_examples (void(*fn_ptr)(char &))
 
reduction_learner_builder< char, ExampleT, BaseLearnerT > & set_init_driver (void(*fn_ptr)(char &))
 
reduction_learner_builder< char, ExampleT, BaseLearnerT > & set_finish_example (void(*fn_ptr)(vw &all, char &, ExampleT &))
 
reduction_learner_builder< char, ExampleT, BaseLearnerT > & set_print_example (void(*fn_ptr)(vw &all, char &, ExampleT &))
 
reduction_learner_builder< char, ExampleT, BaseLearnerT > & set_persist_metrics (void(*fn_ptr)(char &, metric_sink &))
 

Additional Inherited Members

- Public Types inherited from VW::LEARNER::common_learner_builder< reduction_learner_builder< char, ExampleT, BaseLearnerT >, char, ExampleT, BaseLearnerT >
using end_fptr_type = void(*)(vw &, void *, void *)
 
using finish_fptr_type = void(*)(void *)
 
- Public Attributes inherited from VW::LEARNER::common_learner_builder< reduction_learner_builder< char, ExampleT, BaseLearnerT >, char, ExampleT, BaseLearnerT >
learner< char, ExampleT > * _learner
 

Constructor & Destructor Documentation

template<class ExampleT, class BaseLearnerT>
VW::LEARNER::reduction_no_data_learner_builder< ExampleT, BaseLearnerT >::reduction_no_data_learner_builder ( BaseLearnerT *  base,
const std::string &  name 
)
inline

Member Function Documentation

template<class ExampleT, class BaseLearnerT>
learner<char, ExampleT>* VW::LEARNER::reduction_no_data_learner_builder< ExampleT, BaseLearnerT >::build ( )
inline
template<class ExampleT, class BaseLearnerT>
reduction_no_data_learner_builder<ExampleT, BaseLearnerT>& VW::LEARNER::reduction_no_data_learner_builder< ExampleT, BaseLearnerT >::set_label_type ( label_type_t  label_type)
inline
template<class ExampleT, class BaseLearnerT>
reduction_no_data_learner_builder<ExampleT, BaseLearnerT>& VW::LEARNER::reduction_no_data_learner_builder< ExampleT, BaseLearnerT >::set_params_per_weight ( size_t  params_per_weight)
inline
template<class ExampleT, class BaseLearnerT>
reduction_no_data_learner_builder<ExampleT, BaseLearnerT>& VW::LEARNER::reduction_no_data_learner_builder< ExampleT, BaseLearnerT >::set_prediction_type ( prediction_type_t  pred_type)
inline

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