Vowpal Wabbit
Namespaces | Functions | Variables
cost_sensitive.cc File Reference
#include "float.h"
#include "gd.h"
#include "vw.h"
#include "vw_exception.h"
#include <cmath>

Go to the source code of this file.

Namespaces

 COST_SENSITIVE
 

Functions

void COST_SENSITIVE::name_value (substring &s, v_array< substring > &name, float &v)
 
char * COST_SENSITIVE::bufread_label (label *ld, char *c, io_buf &cache)
 
size_t COST_SENSITIVE::read_cached_label (shared_data *, void *v, io_buf &cache)
 
float COST_SENSITIVE::weight (void *)
 
char * COST_SENSITIVE::bufcache_label (label *ld, char *c)
 
void COST_SENSITIVE::cache_label (void *v, io_buf &cache)
 
void COST_SENSITIVE::default_label (void *v)
 
bool COST_SENSITIVE::test_label (void *v)
 
void COST_SENSITIVE::delete_label (void *v)
 
void COST_SENSITIVE::copy_label (void *dst, void *src)
 
void COST_SENSITIVE::parse_label (parser *p, shared_data *sd, void *v, v_array< substring > &words)
 
void COST_SENSITIVE::print_update (vw &all, bool is_test, example &ec, multi_ex *ec_seq, bool action_scores, uint32_t prediction)
 
void COST_SENSITIVE::output_example (vw &all, example &ec)
 
void COST_SENSITIVE::finish_example (vw &all, example &ec)
 
bool COST_SENSITIVE::example_is_test (example &ec)
 
bool COST_SENSITIVE::ec_is_example_header (example const &ec)
 

Variables

label_parser COST_SENSITIVE::cs_label