Vowpal Wabbit
Classes | Namespaces | Macros | Functions
csoaa.cc File Reference
#include <cfloat>
#include <cerrno>
#include "correctedMath.h"
#include "reductions.h"
#include "v_hashmap.h"
#include "label_dictionary.h"
#include "vw.h"
#include "gd.h"
#include "vw_exception.h"
#include <algorithm>
#include "csoaa.h"

Go to the source code of this file.

Classes

struct  CSOAA::csoaa
 
struct  CSOAA::ldf
 

Namespaces

 CSOAA
 

Macros

#define DO_MULTIPREDICT   true
 

Functions

template<bool is_learn>
void CSOAA::inner_loop (single_learner &base, example &ec, uint32_t i, float cost, uint32_t &prediction, float &score, float &partial_prediction)
 
template<bool is_learn>
void CSOAA::predict_or_learn (csoaa &c, single_learner &base, example &ec)
 
void CSOAA::finish_example (vw &all, csoaa &, example &ec)
 
base_learnerCSOAA::csoaa_setup (options_i &options, vw &all)
 
bool CSOAA::ec_is_label_definition (example &ec)
 
bool CSOAA::ec_seq_is_label_definition (multi_ex &ec_seq)
 
bool CSOAA::ec_seq_has_label_definition (multi_ex &ec_seq)
 
bool CSOAA::cmp_wclass_ptr (const COST_SENSITIVE::wclass *a, const COST_SENSITIVE::wclass *b)
 
void CSOAA::compute_wap_values (std::vector< COST_SENSITIVE::wclass *> costs)
 
void CSOAA::subtract_feature (example &ec, float feature_value_x, uint64_t weight_index)
 
void CSOAA::subtract_example (vw &all, example *ec, example *ecsub)
 
void CSOAA::unsubtract_example (example *ec)
 
void CSOAA::make_single_prediction (ldf &data, single_learner &base, example &ec)
 
bool CSOAA::test_ldf_sequence (ldf &data, multi_ex &ec_seq)
 
void CSOAA::do_actual_learning_wap (ldf &data, single_learner &base, multi_ex &ec_seq)
 
void CSOAA::do_actual_learning_oaa (ldf &data, single_learner &base, multi_ex &ec_seq)
 
multi_ex CSOAA::process_labels (ldf &data, const multi_ex &ec_seq_all)
 
template<bool is_learn>
void CSOAA::do_actual_learning (ldf &data, single_learner &base, multi_ex &ec_seq_all)
 
void CSOAA::global_print_newline (vw &all)
 
void CSOAA::output_example (vw &all, example &ec, bool &hit_loss, multi_ex *ec_seq, ldf &data)
 
void CSOAA::output_rank_example (vw &all, example &head_ec, bool &hit_loss, multi_ex *ec_seq)
 
void CSOAA::output_example_seq (vw &all, ldf &data, multi_ex &ec_seq)
 
void CSOAA::end_pass (ldf &data)
 
void CSOAA::finish_multiline_example (vw &all, ldf &data, multi_ex &ec_seq)
 
void CSOAA::process_label (ldf &data, example *ec)
 
base_learnerCSOAA::csldf_setup (options_i &options, vw &all)
 

Macro Definition Documentation

◆ DO_MULTIPREDICT

#define DO_MULTIPREDICT   true

Definition at line 54 of file csoaa.cc.

Referenced by CSOAA::predict_or_learn().