Vowpal Wabbit
|
Functions | |
float | get_number (const rapidjson::Value &value) |
template<bool audit> | |
void | handle_features_value (const char *key_namespace, const Value &value, example *current_example, std::vector< Namespace< audit >> &namespaces, hash_func_t hash_func, uint64_t hash_seed, uint64_t parse_mask, bool chain_hash) |
template<bool audit> | |
void | parse_context (const Value &context, const label_parser &lbl_parser, hash_func_t hash_func, uint64_t hash_seed, uint64_t parse_mask, bool chain_hash, v_array< example *> &examples, VW::example_factory_t example_factory, void *ex_factory_context, std::vector< example *> &slot_examples, std::unordered_map< uint64_t, example *> *dedup_examples=nullptr) |
template<bool audit> | |
void | parse_slates_example_json (const label_parser &lbl_parser, hash_func_t hash_func, uint64_t hash_seed, uint64_t parse_mask, bool chain_hash, v_array< example *> &examples, char *line, size_t, VW::example_factory_t example_factory, void *ex_factory_context, std::unordered_map< uint64_t, example *> *dedup_examples=nullptr) |
template<bool audit> | |
void | parse_slates_example_json (const VW::workspace &all, v_array< example *> &examples, char *line, size_t, VW::example_factory_t example_factory, void *ex_factory_context, std::unordered_map< uint64_t, example *> *dedup_examples=nullptr) |
template<bool audit> | |
void | parse_slates_example_dsjson (VW::workspace &all, v_array< example *> &examples, char *line, size_t, VW::example_factory_t example_factory, void *ex_factory_context, DecisionServiceInteraction *data, std::unordered_map< uint64_t, example *> *dedup_examples=nullptr) |
|
inline |
void handle_features_value | ( | const char * | key_namespace, |
const Value & | value, | ||
example * | current_example, | ||
std::vector< Namespace< audit >> & | namespaces, | ||
hash_func_t | hash_func, | ||
uint64_t | hash_seed, | ||
uint64_t | parse_mask, | ||
bool | chain_hash | ||
) |
void parse_context | ( | const Value & | context, |
const label_parser & | lbl_parser, | ||
hash_func_t | hash_func, | ||
uint64_t | hash_seed, | ||
uint64_t | parse_mask, | ||
bool | chain_hash, | ||
v_array< example *> & | examples, | ||
VW::example_factory_t | example_factory, | ||
void * | ex_factory_context, | ||
std::vector< example *> & | slot_examples, | ||
std::unordered_map< uint64_t, example *> * | dedup_examples = nullptr |
||
) |
void parse_slates_example_dsjson | ( | VW::workspace & | all, |
v_array< example *> & | examples, | ||
char * | line, | ||
size_t | , | ||
VW::example_factory_t | example_factory, | ||
void * | ex_factory_context, | ||
DecisionServiceInteraction * | data, | ||
std::unordered_map< uint64_t, example *> * | dedup_examples = nullptr |
||
) |
void parse_slates_example_json | ( | const label_parser & | lbl_parser, |
hash_func_t | hash_func, | ||
uint64_t | hash_seed, | ||
uint64_t | parse_mask, | ||
bool | chain_hash, | ||
v_array< example *> & | examples, | ||
char * | line, | ||
size_t | , | ||
VW::example_factory_t | example_factory, | ||
void * | ex_factory_context, | ||
std::unordered_map< uint64_t, example *> * | dedup_examples = nullptr |
||
) |
void parse_slates_example_json | ( | const VW::workspace & | all, |
v_array< example *> & | examples, | ||
char * | line, | ||
size_t | , | ||
VW::example_factory_t | example_factory, | ||
void * | ex_factory_context, | ||
std::unordered_map< uint64_t, example *> * | dedup_examples = nullptr |
||
) |