Vowpal Wabbit
Loading...
Searching...
No Matches
Public Member Functions | List of all members
VW::reductions::cb_adf Class Reference

#include <cb_adf.h>

Public Member Functions

void learn (VW::LEARNER::learner &base, VW::multi_ex &ec_seq)
 
void predict (VW::LEARNER::learner &base, VW::multi_ex &ec_seq)
 
bool update_statistics (const VW::example &ec, const VW::multi_ex &ec_seq, VW::shared_data &sd) const
 
 cb_adf (VW::cb_type_t cb_type, bool rank_all, float clip_p, bool no_predict, size_t feature_width_above, bool per_model_save_load, VW::workspace *all)
 
void set_scorer (VW::LEARNER::learner *scorer)
 
bool get_rank_all () const
 
const VW::details::cb_to_cs_adf_drget_gen_cs_dr () const
 
const VW::details::cb_to_cs_adf_mtrget_gen_cs_mtr () const
 
VW::details::cb_to_cs_adf_drget_gen_cs_dr ()
 
VW::details::cb_to_cs_adf_mtrget_gen_cs_mtr ()
 
const VW::version_structget_model_file_ver () const
 
bool learn_returns_prediction () const
 
VW::cb_classknown_cost ()
 
const VW::cb_classknown_cost () const
 
bool per_model_save_load () const
 

Constructor & Destructor Documentation

◆ cb_adf()

VW::reductions::cb_adf::cb_adf ( VW::cb_type_t  cb_type,
bool  rank_all,
float  clip_p,
bool  no_predict,
size_t  feature_width_above,
bool  per_model_save_load,
VW::workspace all 
)
inline

Member Function Documentation

◆ get_gen_cs_dr() [1/2]

VW::details::cb_to_cs_adf_dr & VW::reductions::cb_adf::get_gen_cs_dr ( )
inline

◆ get_gen_cs_dr() [2/2]

const VW::details::cb_to_cs_adf_dr & VW::reductions::cb_adf::get_gen_cs_dr ( ) const
inline

◆ get_gen_cs_mtr() [1/2]

VW::details::cb_to_cs_adf_mtr & VW::reductions::cb_adf::get_gen_cs_mtr ( )
inline

◆ get_gen_cs_mtr() [2/2]

const VW::details::cb_to_cs_adf_mtr & VW::reductions::cb_adf::get_gen_cs_mtr ( ) const
inline

◆ get_model_file_ver()

const VW::version_struct * VW::reductions::cb_adf::get_model_file_ver ( ) const

◆ get_rank_all()

bool VW::reductions::cb_adf::get_rank_all ( ) const
inline

◆ known_cost() [1/2]

VW::cb_class * VW::reductions::cb_adf::known_cost ( )
inline

◆ known_cost() [2/2]

const VW::cb_class * VW::reductions::cb_adf::known_cost ( ) const
inline

◆ learn()

void VW::reductions::cb_adf::learn ( VW::LEARNER::learner base,
VW::multi_ex ec_seq 
)

◆ learn_returns_prediction()

bool VW::reductions::cb_adf::learn_returns_prediction ( ) const
inline

◆ per_model_save_load()

bool VW::reductions::cb_adf::per_model_save_load ( ) const
inline

◆ predict()

void VW::reductions::cb_adf::predict ( VW::LEARNER::learner base,
VW::multi_ex ec_seq 
)

◆ set_scorer()

void VW::reductions::cb_adf::set_scorer ( VW::LEARNER::learner scorer)
inline

◆ update_statistics()

bool VW::reductions::cb_adf::update_statistics ( const VW::example ec,
const VW::multi_ex ec_seq,
VW::shared_data sd 
) const

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