Vowpal Wabbit
|
#include <iostream>
#include <iomanip>
#include <utility>
#include <vector>
#include <map>
#include <cfloat>
#include <cstdint>
#include <cstdio>
#include <inttypes.h>
#include <climits>
#include <stack>
#include <unordered_map>
#include <string>
#include <array>
#include <memory>
#include <atomic>
#include "vw_string_view.h"
#include <thread>
#include "v_array.h"
#include "array_parameters.h"
#include "parse_primitives.h"
#include "loss_functions.h"
#include "example.h"
#include "config.h"
#include "learner.h"
#include <time.h>
#include "hash.h"
#include "crossplat_compat.h"
#include "error_reporting.h"
#include "constant.h"
#include "rand48.h"
#include "hashstring.h"
#include "decision_scores.h"
#include "feature_group.h"
#include "options.h"
#include "version.h"
#include "named_labels.h"
#include "kskip_ngram_transformer.h"
Classes | |
struct | dictionary_info |
struct | shared_data |
struct | rand_state |
struct | vw_logger |
struct | vw |
Typedefs | |
typedef float | weight |
typedef std::unordered_map< std::string, std::unique_ptr< features > > | feature_dict |
typedef VW::LEARNER::base_learner *(* | reduction_setup_fn) (VW::config::options_i &, vw &) |
Enumerations | |
enum | AllReduceType { Socket, Thread } |
enum | label_type_t { label_type_t::simple, label_type_t::cb, label_type_t::cb_eval, label_type_t::cs, label_type_t::multi, label_type_t::mc, label_type_t::ccb, label_type_t::slates } |
Functions | |
void | print_result (VW::io::writer *f, float res, float weight, v_array< char > tag) |
void | print_result_by_ref (VW::io::writer *f, float res, float weight, const v_array< char > &tag) |
void | binary_print_result (VW::io::writer *f, float res, float weight, v_array< char > tag) |
void | binary_print_result_by_ref (VW::io::writer *f, float res, float weight, const v_array< char > &tag) |
void | noop_mm (shared_data *, float label) |
void | get_prediction (VW::io::reader *f, float &res, float &weight) |
void | compile_gram (std::vector< std::string > grams, std::array< uint32_t, NUM_NAMESPACES > &dest, char *descriptor, bool quiet) |
void | compile_limits (std::vector< std::string > limits, std::array< uint32_t, NUM_NAMESPACES > &dest, bool quiet) |
int | print_tag (std::stringstream &ss, v_array< char > tag) |
int | print_tag_by_ref (std::stringstream &ss, const v_array< char > &tag) |
typedef std::unordered_map<std::string, std::unique_ptr<features> > feature_dict |
typedef VW::LEARNER::base_learner*(* reduction_setup_fn) (VW::config::options_i &, vw &) |
typedef float weight |
enum AllReduceType |
|
strong |
void binary_print_result | ( | VW::io::writer * | f, |
float | res, | ||
float | weight, | ||
v_array< char > | tag | ||
) |
void binary_print_result_by_ref | ( | VW::io::writer * | f, |
float | res, | ||
float | weight, | ||
const v_array< char > & | tag | ||
) |
void compile_gram | ( | std::vector< std::string > | grams, |
std::array< uint32_t, NUM_NAMESPACES > & | dest, | ||
char * | descriptor, | ||
bool | quiet | ||
) |
void compile_limits | ( | std::vector< std::string > | limits, |
std::array< uint32_t, NUM_NAMESPACES > & | dest, | ||
bool | quiet | ||
) |
void get_prediction | ( | VW::io::reader * | f, |
float & | res, | ||
float & | weight | ||
) |
void noop_mm | ( | shared_data * | , |
float | label | ||
) |
void print_result | ( | VW::io::writer * | f, |
float | res, | ||
float | weight, | ||
v_array< char > | tag | ||
) |
void print_result_by_ref | ( | VW::io::writer * | f, |
float | res, | ||
float | weight, | ||
const v_array< char > & | tag | ||
) |
int print_tag | ( | std::stringstream & | ss, |
v_array< char > | tag | ||
) |
int print_tag_by_ref | ( | std::stringstream & | ss, |
const v_array< char > & | tag | ||
) |