Vowpal Wabbit
|
#include "parse_primitives.h"
#include "v_array.h"
#include <rapidjson/reader.h>
#include <rapidjson/error/en.h>
#include "cb.h"
#include "conditional_contextual_bandit.h"
#include "best_constant.h"
#include <algorithm>
#include <vector>
Go to the source code of this file.
Classes | |
struct | BaseState< audit > |
struct | Context< audit > |
struct | Namespace< audit > |
struct | BaseState< audit > |
class | LabelObjectState< audit > |
struct | LabelSinglePropertyState< audit > |
struct | LabelIndexState< audit > |
struct | LabelState< audit > |
struct | TextState< audit > |
struct | TagState< audit > |
struct | MultiState< audit > |
struct | SlotsState< audit > |
class | ArrayState< audit > |
struct | IgnoreState< audit > |
class | DefaultState< audit > |
class | ArrayToVectorState< audit, T > |
class | StringToStringState< audit > |
class | FloatToFloatState< audit > |
class | BoolToBoolState< audit > |
struct | DecisionServiceInteraction |
class | CCBOutcomeList< audit > |
class | DecisionServiceState< audit > |
struct | Context< audit > |
struct | VWReaderHandler< audit > |
struct | json_parser< audit > |
Namespaces | |
VW | |
Macros | |
#define | _stricmp strcasecmp |
Functions | |
template<bool audit> | |
void | VW::read_line_json (vw &all, v_array< example *> &examples, char *line, example_factory_t example_factory, void *ex_factory_context) |
void | VW::apply_pdrop (vw &all, float pdrop, v_array< example *> &examples) |
template<bool audit> | |
void | VW::read_line_decision_service_json (vw &all, v_array< example *> &examples, char *line, size_t length, bool copy_line, example_factory_t example_factory, void *ex_factory_context, DecisionServiceInteraction *data) |
template<bool audit> | |
bool | parse_line_json (vw *all, char *line, size_t num_chars, v_array< example *> &examples) |
void | prepare_for_learner (vw *all, v_array< example *> &examples) |
template<bool audit> | |
void | line_to_examples_json (vw *all, char *line, size_t num_chars, v_array< example *> &examples) |
template<bool audit> | |
int | read_features_json (vw *all, v_array< example *> &examples) |
#define _stricmp strcasecmp |
Definition at line 40 of file parse_example_json.h.
Referenced by LabelObjectState< audit >::Float(), DefaultState< audit >::Key(), and DecisionServiceState< audit >::Key().
void line_to_examples_json | ( | vw * | all, |
char * | line, | ||
size_t | num_chars, | ||
v_array< example *> & | examples | ||
) |
Definition at line 1489 of file parse_example_json.h.
References VW::get_unused_example(), prepare_for_learner(), v_array< T >::push_back(), and VW::return_multiple_example().
bool parse_line_json | ( | vw * | all, |
char * | line, | ||
size_t | num_chars, | ||
v_array< example *> & | examples | ||
) |
Definition at line 1429 of file parse_example_json.h.
References DecisionServiceInteraction::actions, parser::decision_service_json, VW::get_unused_example(), vw::p, VW::return_multiple_example(), and DecisionServiceInteraction::skipLearn.
Definition at line 1468 of file parse_example_json.h.
References VW::get_unused_example(), v_array< T >::push_back(), v_array< T >::size(), and substring_to_example().
Referenced by line_to_examples_json(), and read_features_json().
Definition at line 1503 of file parse_example_json.h.
References prepare_for_learner(), and read_features().