Vowpal Wabbit
Classes | Namespaces | Macros | Typedefs | Functions
example.h File Reference
#include <cstdint>
#include <vector>
#include "v_array.h"
#include "no_label.h"
#include "simple_label.h"
#include "multiclass.h"
#include "multilabel.h"
#include "cost_sensitive.h"
#include "cb.h"
#include "constant.h"
#include "feature_group.h"
#include "action_score.h"
#include "example_predict.h"
#include "conditional_contextual_bandit.h"
#include "ccb_label.h"
#include "slates_label.h"
#include "decision_scores.h"
#include <iostream>
#include "cb_continuous_label.h"
#include "prob_dist_cont.h"

Classes

union  polylabel
 
union  polyprediction
 
struct  example
 
struct  flat_example
 
struct  VW::restore_prediction
 

Namespaces

 VW
 [Error Generator]
 

Macros

#define add_passthrough_feature(ec, i, x)   add_passthrough_feature_magic(ec, __FILE__[0] * 483901 + __FILE__[1] * 3417 + __FILE__[2] * 8490177, i, x);
 

Typedefs

typedef std::vector< example * > multi_ex
 

Functions

void delete_scalars (void *v)
 
flat_exampleflatten_example (vw &all, example *ec)
 
flat_exampleflatten_sort_example (vw &all, example *ec)
 
void free_flatten_example (flat_example *fec)
 
int example_is_newline (example const &ec)
 
bool valid_ns (char c)
 
void add_passthrough_feature_magic (example &ec, uint64_t magic, uint64_t i, float x)
 
void VW::return_multiple_example (vw &all, v_array< example * > &examples)
 
std::string features_to_string (const example &ec)
 
std::string simple_label_to_string (const example &ec)
 
std::string scalar_pred_to_string (const example &ec)
 
std::string a_s_pred_to_string (const example &ec)
 
std::string prob_dist_pred_to_string (const example &ec)
 
std::string multiclass_pred_to_string (const example &ec)
 
std::string depth_indent_string (const example &ec)
 
std::string depth_indent_string (int32_t stack_depth)
 
std::string cb_label_to_string (const example &ec)
 

Macro Definition Documentation

#define add_passthrough_feature (   ec,
  i,
 
)    add_passthrough_feature_magic(ec, __FILE__[0] * 483901 + __FILE__[1] * 3417 + __FILE__[2] * 8490177, i, x);

Typedef Documentation

typedef std::vector<example*> multi_ex

Function Documentation

std::string a_s_pred_to_string ( const example ec)
void add_passthrough_feature_magic ( example ec,
uint64_t  magic,
uint64_t  i,
float  x 
)
inline
std::string cb_label_to_string ( const example ec)
void delete_scalars ( void *  v)
inline
std::string depth_indent_string ( const example ec)
std::string depth_indent_string ( int32_t  stack_depth)
int example_is_newline ( example const &  ec)
inline
std::string features_to_string ( const example ec)
flat_example* flatten_example ( vw all,
example ec 
)
flat_example* flatten_sort_example ( vw all,
example ec 
)
void free_flatten_example ( flat_example fec)
std::string multiclass_pred_to_string ( const example ec)
std::string prob_dist_pred_to_string ( const example ec)
std::string scalar_pred_to_string ( const example ec)
std::string simple_label_to_string ( const example ec)
bool valid_ns ( char  c)
inline