Vowpal Wabbit
|
#include <example.h>
Public Member Functions | |
example () | |
~example () | |
example (const example &)=delete | |
example & | operator= (const example &)=delete |
example (example &&other)=default | |
example & | operator= (example &&other)=default |
size_t | get_num_features () const noexcept |
float | get_total_sum_feat_sq () |
void | reset_total_sum_feat_sq () |
Public Member Functions inherited from example_predict | |
example_predict ()=default | |
~example_predict ()=default | |
example_predict (const example_predict &)=delete | |
example_predict & | operator= (const example_predict &)=delete |
example_predict (example_predict &&other)=default | |
example_predict & | operator= (example_predict &&other)=default |
iterator | begin () |
If indices is modified this iterator is invalidated. More... | |
iterator | end () |
If indices is modified this iterator is invalidated. More... | |
Public Attributes | |
polylabel | l |
polyprediction | pred |
float | weight = 1.f |
v_array< char > | tag |
size_t | example_counter = 0 |
size_t | num_features = 0 |
size_t | num_features_from_interactions = 0 |
float | partial_prediction = 0.f |
float | updated_prediction = 0.f |
float | loss = 0.f |
float | total_sum_feat_sq = 0.f |
float | confidence = 0.f |
features * | passthrough |
bool | test_only = false |
bool | end_pass = false |
bool | sorted = false |
bool | is_newline = false |
bool | in_use |
Public Attributes inherited from example_predict | |
v_array< namespace_index > | indices |
std::array< features, NUM_NAMESPACES > | feature_space |
uint64_t | ft_offset = 0 |
std::vector< std::vector< namespace_index > > * | interactions = nullptr |
reduction_features | _reduction_features |
uint32_t | _debug_current_reduction_depth = 0 |
Friends | |
void | VW::copy_example_data (example *dst, const example *src) |
void | VW::setup_example (vw &all, example *ae) |
example::example | ( | ) |
example::~example | ( | ) |
|
delete |
|
default |
|
inlinenoexcept |
|
inline |
|
inline |
|
friend |
|
friend |
float example::confidence = 0.f |
bool example::end_pass = false |
size_t example::example_counter = 0 |
bool example::in_use |
bool example::is_newline = false |
polylabel example::l |
float example::loss = 0.f |
size_t example::num_features = 0 |
size_t example::num_features_from_interactions = 0 |
float example::partial_prediction = 0.f |
features* example::passthrough |
polyprediction example::pred |
bool example::sorted = false |
v_array<char> example::tag |
bool example::test_only = false |
float example::total_sum_feat_sq = 0.f |
float example::updated_prediction = 0.f |
float example::weight = 1.f |