|
Vowpal Wabbit
|
#include <parse_example_json.h>
Public Member Functions | |
| LabelObjectState () | |
| void | init (vw *) |
| BaseState< audit > * | StartObject (Context< audit > &ctx) override |
| BaseState< audit > * | Key (Context< audit > &ctx, const char *str, rapidjson::SizeType len, bool) override |
| BaseState< audit > * | Float (Context< audit > &ctx, float v) override |
| BaseState< audit > * | Uint (Context< audit > &ctx, unsigned v) override |
| BaseState< audit > * | EndObject (Context< audit > &ctx, rapidjson::SizeType) override |
Public Member Functions inherited from BaseState< audit > | |
| BaseState (const char *pname) | |
| virtual BaseState< audit > * | Null (Context< audit > &ctx) |
| virtual BaseState< audit > * | Bool (Context< audit > &ctx, bool b) |
| virtual BaseState< audit > * | String (Context< audit > &ctx, const char *str, rapidjson::SizeType len, bool) |
| virtual BaseState< audit > * | StartArray (Context< audit > &ctx) |
| virtual BaseState< audit > * | EndArray (Context< audit > &ctx, rapidjson::SizeType) |
Public Attributes | |
| CB::cb_class | cb_label |
| bool | found |
| bool | found_cb |
| std::vector< unsigned int > | actions |
| std::vector< float > | probs |
| std::vector< unsigned int > | inc |
Public Attributes inherited from BaseState< audit > | |
| const char * | name |
Private Attributes | |
| BaseState< audit > * | return_state |
Definition at line 155 of file parse_example_json.h.
|
inline |
Definition at line 168 of file parse_example_json.h.
|
inlineoverridevirtual |
Reimplemented from BaseState< audit >.
Definition at line 246 of file parse_example_json.h.
References Context< audit >::all, label_type::ccb, CB::cb_class::cost, CB::label::costs, count_label(), Context< audit >::ex, example::l, label_data::label, vw::label_type, vw::sd, polylabel::simple, and THROW.
|
inlineoverridevirtual |
Reimplemented from BaseState< audit >.
Definition at line 201 of file parse_example_json.h.
References _stricmp, CB::cb_class::action, CB::cb_class::cost, Context< audit >::error(), Context< audit >::ex, label_data::initial, Context< audit >::key, Context< audit >::key_length, example::l, label_data::label, CB::cb_class::probability, polylabel::simple, and label_data::weight.
|
inline |
|
inlineoverridevirtual |
Reimplemented from BaseState< audit >.
Definition at line 194 of file parse_example_json.h.
References Context< audit >::key, and Context< audit >::key_length.
|
inlineoverridevirtual |
Reimplemented from BaseState< audit >.
Definition at line 177 of file parse_example_json.h.
References Context< audit >::all, label_parser::default_label, Context< audit >::error(), Context< audit >::ex, example::l, parser::lp, vw::p, and Context< audit >::previous_state.
|
inlineoverridevirtual |
Reimplemented from BaseState< audit >.
Definition at line 244 of file parse_example_json.h.
| std::vector<unsigned int> LabelObjectState< audit >::actions |
Definition at line 164 of file parse_example_json.h.
| CB::cb_class LabelObjectState< audit >::cb_label |
Definition at line 161 of file parse_example_json.h.
| bool LabelObjectState< audit >::found |
Definition at line 162 of file parse_example_json.h.
| bool LabelObjectState< audit >::found_cb |
Definition at line 163 of file parse_example_json.h.
| std::vector<unsigned int> LabelObjectState< audit >::inc |
Definition at line 166 of file parse_example_json.h.
| std::vector<float> LabelObjectState< audit >::probs |
Definition at line 165 of file parse_example_json.h.
|
private |
Definition at line 158 of file parse_example_json.h.
1.8.13