Vowpal Wabbit
Public Attributes | List of all members
Search::search_private Struct Reference

Public Attributes

vwall
 
std::shared_ptr< rand_state_random_state
 
uint64_t offset
 
bool auto_condition_features
 
bool auto_hamming_loss
 
bool examples_dont_change
 
bool is_ldf
 
bool use_action_costs
 
v_array< int32_t > neighbor_features
 
auto_condition_settings acset
 
size_t history_length
 
size_t A
 
size_t num_learners
 
bool cb_learner
 
SearchState state
 
size_t learn_learner_id
 
int mix_per_roll_policy
 
bool no_caching
 
size_t rollout_num_steps
 
bool linear_ordering
 
bool(* label_is_test )(polylabel &)
 
size_t t
 
size_t T
 
v_array< examplelearn_ec_copy
 
examplelearn_ec_ref
 
size_t learn_ec_ref_cnt
 
v_array< ptaglearn_condition_on
 
v_array< action_reprlearn_condition_on_act
 
v_array< char > learn_condition_on_names
 
v_array< actionlearn_allowed_actions
 
v_array< action_reprptag_to_action
 
std::vector< actiontest_action_sequence
 
action learn_oracle_action
 
features last_action_repr
 
polylabelallowed_actions_cache
 
size_t loss_declared_cnt
 
v_array< scored_actiontrain_trajectory
 
size_t learn_t
 
size_t learn_a_idx
 
bool done_with_all_actions
 
float test_loss
 
float learn_loss
 
float train_loss
 
bool hit_new_pass
 
bool force_oracle
 
float perturb_oracle
 
size_t num_calls_to_run
 
size_t num_calls_to_run_previous
 
size_t save_every_k_runs
 
bool printed_output_header
 
bool should_produce_string
 
std::stringstream * pred_string
 
std::stringstream * truth_string
 
std::stringstream * bad_string_stream
 
float beta
 
float alpha
 
RollMethod rollout_method
 
RollMethod rollin_method
 
float subsample_timesteps
 
bool xv
 
bool allow_current_policy
 
bool adaptive_beta
 
size_t passes_per_policy
 
uint32_t current_policy
 
size_t num_features
 
uint32_t total_number_of_policies
 
size_t read_example_last_id
 
size_t passes_since_new_policy
 
size_t read_example_last_pass
 
size_t total_examples_generated
 
size_t total_predictions_made
 
size_t total_cache_hits
 
v_hashmap< unsigned char *, scored_actioncache_hash_map
 
uint64_t dat_new_feature_idx
 
exampledat_new_feature_ec
 
std::stringstream dat_new_feature_audit_ss
 
size_t dat_new_feature_namespace
 
std::string * dat_new_feature_feature_space
 
float dat_new_feature_value
 
std::string rawOutputString
 
std::stringstream * rawOutputStringStream
 
CS::label ldf_test_label
 
v_array< action_reprcondition_on_actions
 
v_array< size_t > timesteps
 
polylabel learn_losses
 
polylabel gte_label
 
v_array< std::pair< float, size_t > > active_uncertainty
 
v_array< v_array< std::pair< CS::wclass &, bool > > > active_known
 
bool force_setup_ec_ref
 
bool active_csoaa
 
float active_csoaa_verify
 
LEARNER::base_learnerbase_learner
 
clock_t start_clock_time
 
CS::label empty_cs_label
 
search_tasktask
 
search_metataskmetatask
 
BaseTaskmetaoverride
 
size_t meta_t
 
v_array< v_array< action_cache > * > memo_foreach_action
 

Detailed Description

Definition at line 139 of file search.cc.

Member Data Documentation

◆ _random_state

std::shared_ptr<rand_state> Search::search_private::_random_state

◆ A

size_t Search::search_private::A

◆ acset

auto_condition_settings Search::search_private::acset

◆ active_csoaa

bool Search::search_private::active_csoaa

◆ active_csoaa_verify

float Search::search_private::active_csoaa_verify

Definition at line 261 of file search.cc.

Referenced by Search::advance_from_known_actions(), and Search::train_single_example().

◆ active_known

v_array<v_array<std::pair<CS::wclass&, bool> > > Search::search_private::active_known

◆ active_uncertainty

v_array<std::pair<float, size_t> > Search::search_private::active_uncertainty

◆ adaptive_beta

bool Search::search_private::adaptive_beta

Definition at line 223 of file search.cc.

Referenced by Search::reset_search_structure(), and Search::search_initialize().

◆ all

vw* Search::search_private::all

◆ allow_current_policy

bool Search::search_private::allow_current_policy

Definition at line 222 of file search.cc.

Referenced by Search::choose_policy(), and Search::search_initialize().

◆ allowed_actions_cache

polylabel* Search::search_private::allowed_actions_cache

Definition at line 184 of file search.cc.

Referenced by Search::allowed_actions_to_ld(), and Search::search::~search().

◆ alpha

float Search::search_private::alpha

Definition at line 214 of file search.cc.

Referenced by Search::reset_search_structure().

◆ auto_condition_features

bool Search::search_private::auto_condition_features

◆ auto_hamming_loss

bool Search::search_private::auto_hamming_loss

◆ bad_string_stream

std::stringstream* Search::search_private::bad_string_stream

◆ base_learner

LEARNER::base_learner* Search::search_private::base_learner

◆ beta

float Search::search_private::beta

◆ cache_hash_map

v_hashmap<unsigned char*, scored_action> Search::search_private::cache_hash_map

◆ cb_learner

bool Search::search_private::cb_learner

◆ condition_on_actions

v_array<action_repr> Search::search_private::condition_on_actions

Definition at line 253 of file search.cc.

Referenced by Search::search_predict(), and Search::search::~search().

◆ current_policy

uint32_t Search::search_private::current_policy

◆ dat_new_feature_audit_ss

std::stringstream Search::search_private::dat_new_feature_audit_ss

◆ dat_new_feature_ec

example* Search::search_private::dat_new_feature_ec

◆ dat_new_feature_feature_space

std::string* Search::search_private::dat_new_feature_feature_space

◆ dat_new_feature_idx

uint64_t Search::search_private::dat_new_feature_idx

◆ dat_new_feature_namespace

size_t Search::search_private::dat_new_feature_namespace

◆ dat_new_feature_value

float Search::search_private::dat_new_feature_value

◆ done_with_all_actions

bool Search::search_private::done_with_all_actions

◆ empty_cs_label

CS::label Search::search_private::empty_cs_label

Definition at line 266 of file search.cc.

Referenced by Search::search_initialize(), and Search::single_prediction_notLDF().

◆ examples_dont_change

bool Search::search_private::examples_dont_change

◆ force_oracle

bool Search::search_private::force_oracle

Definition at line 197 of file search.cc.

Referenced by Search::search_predict(), and Search::search::set_force_oracle().

◆ force_setup_ec_ref

bool Search::search_private::force_setup_ec_ref

Definition at line 259 of file search.cc.

Referenced by Search::reset_search_structure(), and Search::train_single_example().

◆ gte_label

polylabel Search::search_private::gte_label

Definition at line 256 of file search.cc.

Referenced by Search::search_predict(), and Search::search::~search().

◆ history_length

size_t Search::search_private::history_length

Definition at line 153 of file search.cc.

Referenced by Search::adjust_auto_condition(), and Search::search::get_history_length().

◆ hit_new_pass

bool Search::search_private::hit_new_pass

Definition at line 196 of file search.cc.

Referenced by Search::do_actual_learning(), Search::end_pass(), and Search::print_update().

◆ is_ldf

bool Search::search_private::is_ldf

◆ label_is_test

bool(* Search::search_private::label_is_test) (polylabel &)

◆ last_action_repr

features Search::search_private::last_action_repr

◆ ldf_test_label

CS::label Search::search_private::ldf_test_label

Definition at line 252 of file search.cc.

Referenced by Search::single_prediction_LDF(), and Search::search::~search().

◆ learn_a_idx

size_t Search::search_private::learn_a_idx

◆ learn_allowed_actions

v_array<action> Search::search_private::learn_allowed_actions

◆ learn_condition_on

v_array<ptag> Search::search_private::learn_condition_on

◆ learn_condition_on_act

v_array<action_repr> Search::search_private::learn_condition_on_act

◆ learn_condition_on_names

v_array<char> Search::search_private::learn_condition_on_names

◆ learn_ec_copy

v_array<example> Search::search_private::learn_ec_copy

◆ learn_ec_ref

example* Search::search_private::learn_ec_ref

◆ learn_ec_ref_cnt

size_t Search::search_private::learn_ec_ref_cnt

◆ learn_learner_id

size_t Search::search_private::learn_learner_id

Definition at line 159 of file search.cc.

Referenced by Search::generate_training_example(), and Search::search_predict().

◆ learn_loss

float Search::search_private::learn_loss

◆ learn_losses

polylabel Search::search_private::learn_losses

◆ learn_oracle_action

action Search::search_private::learn_oracle_action

Definition at line 181 of file search.cc.

Referenced by Search::search_predict().

◆ learn_t

size_t Search::search_private::learn_t

◆ linear_ordering

bool Search::search_private::linear_ordering

Definition at line 165 of file search.cc.

Referenced by Search::get_training_timesteps().

◆ loss_declared_cnt

size_t Search::search_private::loss_declared_cnt

◆ memo_foreach_action

v_array<v_array<action_cache>*> Search::search_private::memo_foreach_action

◆ meta_t

size_t Search::search_private::meta_t

◆ metaoverride

BaseTask* Search::search_private::metaoverride

◆ metatask

search_metatask* Search::search_private::metatask

◆ mix_per_roll_policy

int Search::search_private::mix_per_roll_policy

◆ neighbor_features

v_array<int32_t> Search::search_private::neighbor_features

◆ no_caching

bool Search::search_private::no_caching

Definition at line 162 of file search.cc.

Referenced by Search::cached_action_store_or_find(), and Search::search::set_options().

◆ num_calls_to_run

size_t Search::search_private::num_calls_to_run

◆ num_calls_to_run_previous

size_t Search::search_private::num_calls_to_run_previous

Definition at line 200 of file search.cc.

Referenced by Search::train_single_example().

◆ num_features

size_t Search::search_private::num_features

◆ num_learners

size_t Search::search_private::num_learners

◆ offset

uint64_t Search::search_private::offset

◆ passes_per_policy

size_t Search::search_private::passes_per_policy

Definition at line 225 of file search.cc.

Referenced by Search::end_pass().

◆ passes_since_new_policy

size_t Search::search_private::passes_since_new_policy

Definition at line 233 of file search.cc.

Referenced by Search::end_examples(), and Search::end_pass().

◆ perturb_oracle

float Search::search_private::perturb_oracle

Definition at line 198 of file search.cc.

Referenced by Search::choose_oracle_action().

◆ pred_string

std::stringstream* Search::search_private::pred_string

◆ printed_output_header

bool Search::search_private::printed_output_header

Definition at line 204 of file search.cc.

Referenced by Search::print_update().

◆ ptag_to_action

v_array<action_repr> Search::search_private::ptag_to_action

◆ rawOutputString

std::string Search::search_private::rawOutputString

Definition at line 250 of file search.cc.

Referenced by Search::search_initialize(), and Search::search::~search().

◆ rawOutputStringStream

std::stringstream* Search::search_private::rawOutputStringStream

◆ read_example_last_id

size_t Search::search_private::read_example_last_id

Definition at line 232 of file search.cc.

Referenced by Search::do_actual_learning(), and Search::reset_search_structure().

◆ read_example_last_pass

size_t Search::search_private::read_example_last_pass

◆ rollin_method

RollMethod Search::search_private::rollin_method

Definition at line 217 of file search.cc.

Referenced by Search::choose_policy(), and Search::search_initialize().

◆ rollout_method

RollMethod Search::search_private::rollout_method

◆ rollout_num_steps

size_t Search::search_private::rollout_num_steps

◆ save_every_k_runs

size_t Search::search_private::save_every_k_runs

Definition at line 200 of file search.cc.

Referenced by Search::train_single_example().

◆ should_produce_string

bool Search::search_private::should_produce_string

◆ start_clock_time

clock_t Search::search_private::start_clock_time

Definition at line 264 of file search.cc.

Referenced by Search::print_update().

◆ state

SearchState Search::search_private::state

◆ subsample_timesteps

float Search::search_private::subsample_timesteps

Definition at line 218 of file search.cc.

Referenced by Search::get_training_timesteps(), and Search::single_prediction_notLDF().

◆ t

size_t Search::search_private::t

◆ T

size_t Search::search_private::T

Definition at line 170 of file search.cc.

Referenced by Search::get_training_timesteps(), and Search::train_single_example().

◆ task

search_task* Search::search_private::task

◆ test_action_sequence

std::vector<action> Search::search_private::test_action_sequence

◆ test_loss

float Search::search_private::test_loss

◆ timesteps

v_array<size_t> Search::search_private::timesteps

Definition at line 254 of file search.cc.

Referenced by Search::train_single_example(), and Search::search::~search().

◆ total_cache_hits

size_t Search::search_private::total_cache_hits

Definition at line 237 of file search.cc.

Referenced by Search::print_update(), and Search::search_predict().

◆ total_examples_generated

size_t Search::search_private::total_examples_generated

◆ total_number_of_policies

uint32_t Search::search_private::total_number_of_policies

Definition at line 231 of file search.cc.

Referenced by Search::end_examples(), Search::end_pass(), and Search::search_initialize().

◆ total_predictions_made

size_t Search::search_private::total_predictions_made

◆ train_loss

float Search::search_private::train_loss

◆ train_trajectory

v_array<scored_action> Search::search_private::train_trajectory

◆ truth_string

std::stringstream* Search::search_private::truth_string

◆ use_action_costs

bool Search::search_private::use_action_costs

◆ xv

bool Search::search_private::xv

Definition at line 219 of file search.cc.

Referenced by Search::generate_training_example(), and Search::select_learner().


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