Vowpal Wabbit
|
#include <iostream>
#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 "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 "rand_state.h"
#include "allreduce.h"
#include "options.h"
#include "version.h"
#include "kskip_ngram_transformer.h"
Classes | |
struct | dictionary_info |
struct | vw_logger |
struct | trace_message_wrapper |
struct | vw |
Namespaces | |
VW | |
VW::parsers | |
VW::parsers::flatbuffer | |
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 &) |
using | options_deleter_type = void(*)(VW::config::options_i *) |
Enumerations | |
enum | AllReduceType { Socket, Thread } |
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 |
using options_deleter_type = void (*)(VW::config::options_i*) |
typedef VW::LEARNER::base_learner*(* reduction_setup_fn) (VW::config::options_i &, vw &) |
typedef float weight |
enum AllReduceType |
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 | ||
) |