Vowpal Wabbit
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
VW::reductions::automl::config_oracle< oracle_impl > Class Template Reference

#include <automl_impl.h>

Public Member Functions

 config_oracle (uint64_t default_lease, priority_func calc_priority, const std::string &interaction_type, const std::string &oracle_type, std::shared_ptr< VW::rand_state > &rand_state, config_type conf_type)
 
void gen_configs (const interaction_vec_t &champ_interactions, const std::map< namespace_index, uint64_t > &ns_counter)
 
bool insert_config (set_ns_list_t &&new_elements, const std::map< namespace_index, uint64_t > &ns_counter, VW::reductions::automl::config_type conf_type, bool allow_dups=false)
 
bool repopulate_index_queue (const std::map< namespace_index, uint64_t > &ns_counter)
 
void insert_starting_configuration ()
 
void keep_best_two (uint64_t winner_config_index)
 

Static Public Member Functions

static uint64_t choose (std::priority_queue< std::pair< float, uint64_t > > &index_queue)
 

Public Attributes

std::priority_queue< std::pair< float, uint64_t > > index_queue
 
std::vector< ns_based_configconfigs
 
priority_func calc_priority
 
const uint64_t default_lease
 
uint64_t valid_config_size = 0
 

Constructor & Destructor Documentation

◆ config_oracle()

template<typename oracle_impl >
VW::reductions::automl::config_oracle< oracle_impl >::config_oracle ( uint64_t  default_lease,
priority_func  calc_priority,
const std::string &  interaction_type,
const std::string &  oracle_type,
std::shared_ptr< VW::rand_state > &  rand_state,
config_type  conf_type 
)

Member Function Documentation

◆ choose()

template<typename oracle_impl >
static uint64_t VW::reductions::automl::config_oracle< oracle_impl >::choose ( std::priority_queue< std::pair< float, uint64_t > > &  index_queue)
static

◆ gen_configs()

template<typename oracle_impl >
void VW::reductions::automl::config_oracle< oracle_impl >::gen_configs ( const interaction_vec_t champ_interactions,
const std::map< namespace_index, uint64_t > &  ns_counter 
)

◆ insert_config()

template<typename oracle_impl >
bool VW::reductions::automl::config_oracle< oracle_impl >::insert_config ( set_ns_list_t &&  new_elements,
const std::map< namespace_index, uint64_t > &  ns_counter,
VW::reductions::automl::config_type  conf_type,
bool  allow_dups = false 
)

◆ insert_starting_configuration()

template<typename oracle_impl >
void VW::reductions::automl::config_oracle< oracle_impl >::insert_starting_configuration ( )

◆ keep_best_two()

template<typename oracle_impl >
void VW::reductions::automl::config_oracle< oracle_impl >::keep_best_two ( uint64_t  winner_config_index)

◆ repopulate_index_queue()

template<typename oracle_impl >
bool VW::reductions::automl::config_oracle< oracle_impl >::repopulate_index_queue ( const std::map< namespace_index, uint64_t > &  ns_counter)

Member Data Documentation

◆ calc_priority

template<typename oracle_impl >
priority_func VW::reductions::automl::config_oracle< oracle_impl >::calc_priority

◆ configs

template<typename oracle_impl >
std::vector<ns_based_config> VW::reductions::automl::config_oracle< oracle_impl >::configs

◆ default_lease

template<typename oracle_impl >
const uint64_t VW::reductions::automl::config_oracle< oracle_impl >::default_lease

◆ index_queue

template<typename oracle_impl >
std::priority_queue<std::pair<float, uint64_t> > VW::reductions::automl::config_oracle< oracle_impl >::index_queue

◆ valid_config_size

template<typename oracle_impl >
uint64_t VW::reductions::automl::config_oracle< oracle_impl >::valid_config_size = 0

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