|
Vowpal Wabbit
|
#include <cstdint>#include "v_array.h"#include "no_label.h"#include "simple_label.h"#include "multiclass.h"#include "multilabel.h"#include "cost_sensitive.h"#include "cb.h"#include "constant.h"#include "feature_group.h"#include "action_score.h"#include "example_predict.h"#include "conditional_contextual_bandit.h"#include "ccb_label.h"#include <vector>Go to the source code of this file.
Classes | |
| union | polylabel |
| union | polyprediction |
| struct | example |
| struct | flat_example |
Namespaces | |
| VW | |
Macros | |
| #define | add_passthrough_feature(ec, i, x) add_passthrough_feature_magic(ec, __FILE__[0] * 483901 + __FILE__[1] * 3417 + __FILE__[2] * 8490177, i, x); |
Typedefs | |
| typedef std::vector< example * > | multi_ex |
Functions | |
| void | delete_scalars (void *v) |
| flat_example * | flatten_example (vw &all, example *ec) |
| flat_example * | flatten_sort_example (vw &all, example *ec) |
| void | free_flatten_example (flat_example *fec) |
| int | example_is_newline (example const &ec) |
| bool | valid_ns (char c) |
| void | add_passthrough_feature_magic (example &ec, uint64_t magic, uint64_t i, float x) |
| void | VW::return_multiple_example (vw &all, v_array< example *> &examples) |
| #define add_passthrough_feature | ( | ec, | |
| i, | |||
| x | |||
| ) | add_passthrough_feature_magic(ec, __FILE__[0] * 483901 + __FILE__[1] * 3417 + __FILE__[2] * 8490177, i, x); |
Definition at line 119 of file example.h.
Referenced by CSOAA::inner_loop(), inner_loop(), CSOAA::predict_or_learn(), predict_or_learn(), and predict_or_learn_multi().
|
inline |
Definition at line 113 of file example.h.
References FNV_prime, example::passthrough, and features::push_back().
|
inline |
Definition at line 37 of file example.h.
References v_array< T >::delete_v().
Referenced by lda_setup(), mwt_setup(), and oaa_setup().
|
inline |
Definition at line 104 of file example.h.
References constant_namespace, v_array< T >::empty(), example_predict::indices, v_array< T >::last(), v_array< T >::size(), and example::tag.
Referenced by LEARNER::example_is_newline_not_header(), CB_ALGS::example_is_newline_not_header(), output_example(), CSOAA::output_example(), CSOAA::output_rank_example(), and VW::setup_example().
| flat_example* flatten_example | ( | vw & | all, |
| example * | ec | ||
| ) |
Definition at line 152 of file example.cc.
References v_array< T >::begin(), example::example_counter, flat_example::example_counter, flat_example::fs, full_features_and_source::fs, example_predict::ft_offset, flat_example::ft_offset, example::l, flat_example::l, full_features_and_source::mask, parameters::mask(), parameters::not_null(), example::num_features, flat_example::num_features, polylabel::simple, v_array< T >::size(), full_features_and_source::stride_shift, parameters::stride_shift(), example::tag, flat_example::tag, flat_example::tag_len, label_data::weight, example::weight, and vw::weights.
Referenced by flatten_sort_example().
| flat_example* flatten_sort_example | ( | vw & | all, |
| example * | ec | ||
| ) |
Definition at line 182 of file example.cc.
References collision_cleanup(), flatten_example(), flat_example::fs, vw::parse_mask, features::sort(), and flat_example::total_sum_feat_sq.
Referenced by learn(), memory_tree_ns::normalized_linear_prod(), and predict().
| void free_flatten_example | ( | flat_example * | fec | ) |
Definition at line 190 of file example.cc.
References features::delete_v(), flat_example::fs, flat_example::tag, and flat_example::tag_len.
Referenced by memory_tree_ns::normalized_linear_prod(), and svm_example::~svm_example().
|
inline |
Definition at line 111 of file example.h.
Referenced by INTERACTIONS::expand_namespaces_with_recursion(), and parse_affix_argument().
1.8.13