Vowpal Wabbit
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
VW::LEARNER::reduction_no_data_learner_builder< ExampleT > Class Template Reference

#include <learner.h>

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

Public Types

using FluentBuilderT = reduction_no_data_learner_builder< ExampleT >
 
using super = common_learner_builder< reduction_learner_builder< char, ExampleT >, char, ExampleT >
 

Public Member Functions

 reduction_no_data_learner_builder (std::shared_ptr< learner > base, const std::string &name)
 
FluentBuilderTset_predict (void(*fn_ptr)(learner &, ExampleT &)) &
 
FluentBuilderT && set_predict (void(*fn_ptr)(learner &, ExampleT &)) &&
 
FluentBuilderTset_learn (void(*fn_ptr)(learner &, ExampleT &)) &
 
FluentBuilderT && set_learn (void(*fn_ptr)(learner &, ExampleT &)) &&
 
FluentBuilderTset_multipredict (void(*fn_ptr)(learner &, ExampleT &, size_t, size_t, polyprediction *, bool)) &
 
FluentBuilderT && set_multipredict (void(*fn_ptr)(learner &, ExampleT &, size_t, size_t, polyprediction *, bool)) &&
 
FluentBuilderTset_update (void(*fn_ptr)(learner &, ExampleT &)) &
 
FluentBuilderT && set_update (void(*fn_ptr)(learner &, ExampleT &)) &&
 
FluentBuilderTset_sensitivity (float(*fn_ptr)(learner &, example &)) &
 
FluentBuilderT && set_sensitivity (float(*fn_ptr)(learner &, example &)) &&
 
FluentBuilderTset_feature_width (size_t feature_width) &
 
FluentBuilderT && set_feature_width (size_t feature_width) &&
 
std::shared_ptr< learnerbuild ()
 
- Public Member Functions inherited from VW::LEARNER::common_learner_builder< reduction_learner_builder< char, ExampleT >, char, ExampleT >
 common_learner_builder (std::shared_ptr< learner > input_learner, std::unique_ptr< char > &&data, const std::string &name)
 
 common_learner_builder (const common_learner_builder &)=delete
 
 common_learner_builder (common_learner_builder &&) noexcept=default
 
common_learner_builderoperator= (const common_learner_builder &)=delete
 
common_learner_builderoperator= (common_learner_builder &&) noexcept=default
 
reduction_learner_builder< char, ExampleT > & set_learn_returns_prediction (bool learn_returns_prediction) &
 
reduction_learner_builder< char, ExampleT > && set_learn_returns_prediction (bool learn_returns_prediction) &&
 
reduction_learner_builder< char, ExampleT > & set_save_load (void(*fn_ptr)(char &, io_buf &, bool, bool)) &
 
reduction_learner_builder< char, ExampleT > && set_save_load (void(*fn_ptr)(char &, io_buf &, bool, bool)) &&
 
reduction_learner_builder< char, ExampleT > & set_finish (void(*fn_ptr)(char &)) &
 
reduction_learner_builder< char, ExampleT > && set_finish (void(*fn_ptr)(char &)) &&
 
reduction_learner_builder< char, ExampleT > & set_end_pass (void(*fn_ptr)(char &)) &
 
reduction_learner_builder< char, ExampleT > && set_end_pass (void(*fn_ptr)(char &)) &&
 
reduction_learner_builder< char, ExampleT > & set_end_examples (void(*fn_ptr)(char &)) &
 
reduction_learner_builder< char, ExampleT > && set_end_examples (void(*fn_ptr)(char &)) &&
 
reduction_learner_builder< char, ExampleT > & set_init_driver (void(*fn_ptr)(char &)) &
 
reduction_learner_builder< char, ExampleT > && set_init_driver (void(*fn_ptr)(char &)) &&
 
reduction_learner_builder< char, ExampleT > & set_finish_example (void(*fn_ptr)(VW::workspace &all, char &, ExampleT &)) &
 
reduction_learner_builder< char, ExampleT > && set_finish_example (void(*fn_ptr)(VW::workspace &all, char &, ExampleT &)) &&
 
reduction_learner_builder< char, ExampleT > & set_update_stats (learner_update_stats_func< char, ExampleT > *fn_ptr) &
 
reduction_learner_builder< char, ExampleT > && set_update_stats (learner_update_stats_func< char, ExampleT > *fn_ptr) &&
 
reduction_learner_builder< char, ExampleT > & set_output_example_prediction (learner_output_example_prediction_func< char, ExampleT > *fn_ptr) &
 
reduction_learner_builder< char, ExampleT > && set_output_example_prediction (learner_output_example_prediction_func< char, ExampleT > *fn_ptr) &&
 
reduction_learner_builder< char, ExampleT > & set_print_update (learner_print_update_func< char, ExampleT > *fn_ptr) &
 
reduction_learner_builder< char, ExampleT > && set_print_update (learner_print_update_func< char, ExampleT > *fn_ptr) &&
 
reduction_learner_builder< char, ExampleT > & set_cleanup_example (learner_cleanup_example_func< char, ExampleT > *fn_ptr) &
 
reduction_learner_builder< char, ExampleT > && set_cleanup_example (learner_cleanup_example_func< char, ExampleT > *fn_ptr) &&
 
reduction_learner_builder< char, ExampleT > & set_persist_metrics (void(*fn_ptr)(char &, metric_sink &)) &
 
reduction_learner_builder< char, ExampleT > && set_persist_metrics (void(*fn_ptr)(char &, metric_sink &)) &&
 
reduction_learner_builder< char, ExampleT > & set_pre_save_load (void(*fn_ptr)(VW::workspace &all, char &)) &
 
reduction_learner_builder< char, ExampleT > && set_pre_save_load (void(*fn_ptr)(VW::workspace &all, char &)) &&
 
reduction_learner_builder< char, ExampleT > & set_input_label_type (label_type_t label_type) &
 
reduction_learner_builder< char, ExampleT > && set_input_label_type (label_type_t label_type) &&
 
reduction_learner_builder< char, ExampleT > & set_output_label_type (label_type_t label_type) &
 
reduction_learner_builder< char, ExampleT > && set_output_label_type (label_type_t label_type) &&
 
reduction_learner_builder< char, ExampleT > & set_input_prediction_type (prediction_type_t pred_type) &
 
reduction_learner_builder< char, ExampleT > && set_input_prediction_type (prediction_type_t pred_type) &&
 
reduction_learner_builder< char, ExampleT > & set_output_prediction_type (prediction_type_t pred_type) &
 
reduction_learner_builder< char, ExampleT > && set_output_prediction_type (prediction_type_t pred_type) &&
 

Additional Inherited Members

- Public Attributes inherited from VW::LEARNER::common_learner_builder< reduction_learner_builder< char, ExampleT >, char, ExampleT >
std::shared_ptr< learnerlearner_ptr
 
std::shared_ptr< char > learner_data
 

Member Typedef Documentation

◆ FluentBuilderT

template<class ExampleT >
using VW::LEARNER::reduction_no_data_learner_builder< ExampleT >::FluentBuilderT = reduction_no_data_learner_builder<ExampleT>

◆ super

template<class ExampleT >
using VW::LEARNER::reduction_no_data_learner_builder< ExampleT >::super = common_learner_builder<reduction_learner_builder<char, ExampleT>, char, ExampleT>

Constructor & Destructor Documentation

◆ reduction_no_data_learner_builder()

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

Member Function Documentation

◆ build()

template<class ExampleT >
std::shared_ptr< learner > VW::LEARNER::reduction_no_data_learner_builder< ExampleT >::build ( )
inline

◆ set_feature_width() [1/2]

template<class ExampleT >
FluentBuilderT & VW::LEARNER::reduction_no_data_learner_builder< ExampleT >::set_feature_width ( size_t  feature_width) &
inline

◆ set_feature_width() [2/2]

template<class ExampleT >
FluentBuilderT && VW::LEARNER::reduction_no_data_learner_builder< ExampleT >::set_feature_width ( size_t  feature_width) &&
inline

◆ set_learn() [1/2]

template<class ExampleT >
FluentBuilderT & VW::LEARNER::reduction_no_data_learner_builder< ExampleT >::set_learn ( void(*)(learner &, ExampleT &)  fn_ptr) &
inline

◆ set_learn() [2/2]

template<class ExampleT >
FluentBuilderT && VW::LEARNER::reduction_no_data_learner_builder< ExampleT >::set_learn ( void(*)(learner &, ExampleT &)  fn_ptr) &&
inline

◆ set_multipredict() [1/2]

template<class ExampleT >
FluentBuilderT & VW::LEARNER::reduction_no_data_learner_builder< ExampleT >::set_multipredict ( void(*)(learner &, ExampleT &, size_t, size_t, polyprediction *, bool)  fn_ptr) &
inline

◆ set_multipredict() [2/2]

template<class ExampleT >
FluentBuilderT && VW::LEARNER::reduction_no_data_learner_builder< ExampleT >::set_multipredict ( void(*)(learner &, ExampleT &, size_t, size_t, polyprediction *, bool)  fn_ptr) &&
inline

◆ set_predict() [1/2]

template<class ExampleT >
FluentBuilderT & VW::LEARNER::reduction_no_data_learner_builder< ExampleT >::set_predict ( void(*)(learner &, ExampleT &)  fn_ptr) &
inline

◆ set_predict() [2/2]

template<class ExampleT >
FluentBuilderT && VW::LEARNER::reduction_no_data_learner_builder< ExampleT >::set_predict ( void(*)(learner &, ExampleT &)  fn_ptr) &&
inline

◆ set_sensitivity() [1/2]

template<class ExampleT >
FluentBuilderT & VW::LEARNER::reduction_no_data_learner_builder< ExampleT >::set_sensitivity ( float(*)(learner &, example &)  fn_ptr) &
inline

◆ set_sensitivity() [2/2]

template<class ExampleT >
FluentBuilderT && VW::LEARNER::reduction_no_data_learner_builder< ExampleT >::set_sensitivity ( float(*)(learner &, example &)  fn_ptr) &&
inline

◆ set_update() [1/2]

template<class ExampleT >
FluentBuilderT & VW::LEARNER::reduction_no_data_learner_builder< ExampleT >::set_update ( void(*)(learner &, ExampleT &)  fn_ptr) &
inline

◆ set_update() [2/2]

template<class ExampleT >
FluentBuilderT && VW::LEARNER::reduction_no_data_learner_builder< ExampleT >::set_update ( void(*)(learner &, ExampleT &)  fn_ptr) &&
inline

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