Vowpal Wabbit
Classes | Public Member Functions | Public Attributes | List of all members
example_predict Struct Reference

#include <example_predict.h>

Inheritance diagram for example_predict:
example safe_example_predict

Classes

class  iterator
 

Public Member Functions

iterator begin ()
 
iterator end ()
 

Public Attributes

v_array< namespace_indexindices
 
std::array< features, NUM_NAMESPACESfeature_space
 
uint64_t ft_offset
 
std::vector< std::string > * interactions
 

Detailed Description

Definition at line 16 of file example_predict.h.

Member Function Documentation

◆ begin()

iterator example_predict::begin ( )
inline

Definition at line 48 of file example_predict.h.

References v_array< T >::begin(), and example_predict::iterator::iterator().

Referenced by GD::foreach_feature(), MARGINAL::make_marginal(), VW::shared_feature_merger::predict_or_learn(), MARGINAL::undo_marginal(), and MARGINAL::update_marginal().

48 { return iterator(feature_space.data(), indices.begin()); }
v_array< namespace_index > indices
T *& begin()
Definition: v_array.h:42
std::array< features, NUM_NAMESPACES > feature_space

◆ end()

iterator example_predict::end ( )
inline

Definition at line 49 of file example_predict.h.

References v_array< T >::end(), and example_predict::iterator::iterator().

Referenced by GD::foreach_feature(), MARGINAL::make_marginal(), MARGINAL::undo_marginal(), and MARGINAL::update_marginal().

49 { return iterator(feature_space.data(), indices.end()); }
v_array< namespace_index > indices
std::array< features, NUM_NAMESPACES > feature_space
T *& end()
Definition: v_array.h:43

Member Data Documentation

◆ feature_space

std::array<features, NUM_NAMESPACES> example_predict::feature_space

Definition at line 41 of file example_predict.h.

Referenced by DepParserTask::add_all_features(), VW::add_constant_feature(), GraphTask::add_edge_features_group_fn(), GraphTask::add_edge_features_single_fn(), Search::add_example_conditioning(), LabelDict::add_example_namespace(), LabelDict::add_example_namespaces_from_example(), DepParserTask::add_feature(), Search::add_neighbor_features(), Search::add_new_feature(), recall_tree_ns::add_node_id_feature(), ezexample::add_other_example_ns(), ezexample::addf(), ezexample::addns(), audit_regressor(), audit_regressor_lda(), BASELINE::baseline_enabled(), cache_features(), safe_example_predict::clear(), VW::copy_example_data(), VW::dealloc_example(), LabelDict::del_example_namespace(), LabelDict::del_example_namespaces_from_example(), Search::del_features_in_top_namespace(), memory_tree_ns::diag_kronecker_product_test(), INTERACTIONS::eval_count_of_generated_ft(), VW::export_example(), feature_limit(), vw_slim::namespace_copy_guard::feature_push_back(), finish_setup(), INTERACTIONS::generate_interactions(), generateGrams(), ezexample::get_new_example(), VW::import_example(), init_global(), CCB::inject_slot_features(), CCB::inject_slot_id(), learn(), TC_parser< audit >::maybeFeature(), mf_predict(), ezexample::mini_setup_example(), VW::move_feature_namespace(), TC_parser< audit >::nameSpace(), TC_parser< audit >::nameSpaceInfo(), example_initializer::operator()(), parse_dictionary_argument(), predict(), vw_slim::vw_predict< W >::predict(), MWT::predict_or_learn(), predict_or_learn(), predict_or_learn_multi(), VW::autolink::prepare_example(), CSOAA::process_label(), vw_slim::example_predict_builder::push_feature(), vw_slim::example_predict_builder::push_feature_string(), Context< audit >::PushNamespace(), read_cached_features(), ezexample::remns(), recall_tree_ns::remove_node_id_feature(), CCB::remove_slot_features(), CCB::remove_slot_id(), BASELINE::reset_baseline_disabled(), VW::autolink::reset_example(), memory_tree_ns::save_load_example(), send_features(), BASELINE::set_baseline_enabled(), VW::setup_example(), vw_slim::stride_shift_guard::stride_shift_guard(), CSOAA::subtract_example(), CSOAA::subtract_feature(), synthetic_create(), synthetic_create_rec(), synthetic_decycle(), synthetic_reset(), CSOAA::unsubtract_example(), vw_slim::namespace_copy_guard::~namespace_copy_guard(), safe_example_predict::~safe_example_predict(), stagewise_poly::~stagewise_poly(), and vw_slim::stride_shift_guard::~stride_shift_guard().

◆ ft_offset

uint64_t example_predict::ft_offset

◆ indices

v_array<namespace_index> example_predict::indices

Definition at line 40 of file example_predict.h.

Referenced by DepParserTask::add_all_features(), VW::add_constant_feature(), Search::add_example_conditioning(), LabelDict::add_example_namespace(), LabelDict::add_example_namespaces_from_example(), vw_slim::example_predict_builder::add_namespace(), Search::add_neighbor_features(), recall_tree_ns::add_node_id_feature(), audit_regressor(), audit_regressor_lda(), cache_features(), CCB::calculate_and_insert_interactions(), safe_example_predict::clear(), VW::copy_example_data(), VW::dealloc_example(), Search::del_example_conditioning(), LabelDict::del_example_namespace(), LabelDict::del_example_namespaces_from_example(), Search::del_features_in_top_namespace(), memory_tree_ns::diag_kronecker_product_test(), CSOAA::ec_is_label_definition(), ezexample::ensure_ns_exists(), example_is_newline(), VW::export_example(), ezexample::ezexample(), feature_limit(), finish_setup(), generateGrams(), ezexample::get_new_example(), VW::import_example(), init_global(), DepParserTask::initialize(), CCB::inject_slot_features(), CCB::inject_slot_id(), learn(), TC_parser< audit >::maybeFeature(), VW::move_feature_namespace(), TC_parser< audit >::nameSpace(), vw_slim::namespace_copy_guard::namespace_copy_guard(), LEARNER::single_example_handler< context_type >::on_example(), example_initializer::operator()(), parse_dictionary_argument(), Context< audit >::PopNamespace(), predict(), vw_slim::vw_predict< W >::predict(), MWT::predict_or_learn(), predict_or_learn(), predict_or_learn_multi(), VW::autolink::prepare_example(), CSOAA::process_label(), read_cached_features(), ezexample::remns(), recall_tree_ns::remove_node_id_feature(), CCB::remove_slot_features(), CCB::remove_slot_id(), VW::autolink::reset_example(), safe_example_predict::safe_example_predict(), memory_tree_ns::save_load_example(), send_features(), VW::setup_example(), vw_slim::stride_shift_guard::stride_shift_guard(), CSOAA::subtract_example(), synthetic_reset(), LEARNER::multi_example_handler< context_type >::try_complete_multi_ex(), CSOAA::unsubtract_example(), vw_slim::namespace_copy_guard::~namespace_copy_guard(), safe_example_predict::~safe_example_predict(), stagewise_poly::~stagewise_poly(), and vw_slim::stride_shift_guard::~stride_shift_guard().

◆ interactions

std::vector<std::string>* example_predict::interactions

The documentation for this struct was generated from the following file: