Vowpal Wabbit
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
VW::reductions::automl::ns_based_config Class Reference

#include <automl_impl.h>

Public Member Functions

 ns_based_config (uint64_t lease=10)
 
 ns_based_config (set_ns_list_t &&ns_list, uint64_t lease, config_type conf_type)
 
void reset (set_ns_list_t &&ns_list, uint64_t lease, config_type conf_type)
 

Static Public Member Functions

static interaction_vec_t gen_quadratic_interactions (const std::map< namespace_index, uint64_t > &ns_counter, const set_ns_list_t &exclusions)
 
static interaction_vec_t gen_cubic_interactions (const std::map< namespace_index, uint64_t > &ns_counter, const set_ns_list_t &exclusions)
 
static void apply_config_to_interactions (const bool ccb_on, const std::map< namespace_index, uint64_t > &ns_counter, const std::string &interaction_type, const ns_based_config &config, interaction_vec_t &interactions)
 

Public Attributes

set_ns_list_t elements
 
uint64_t lease
 
config_state state = VW::reductions::automl::config_state::New
 
config_type conf_type = VW::reductions::automl::config_type::Exclusion
 

Constructor & Destructor Documentation

◆ ns_based_config() [1/2]

VW::reductions::automl::ns_based_config::ns_based_config ( uint64_t  lease = 10)
inline

◆ ns_based_config() [2/2]

VW::reductions::automl::ns_based_config::ns_based_config ( set_ns_list_t &&  ns_list,
uint64_t  lease,
config_type  conf_type 
)
inline

Member Function Documentation

◆ apply_config_to_interactions()

static void VW::reductions::automl::ns_based_config::apply_config_to_interactions ( const bool  ccb_on,
const std::map< namespace_index, uint64_t > &  ns_counter,
const std::string &  interaction_type,
const ns_based_config config,
interaction_vec_t interactions 
)
static

◆ gen_cubic_interactions()

static interaction_vec_t VW::reductions::automl::ns_based_config::gen_cubic_interactions ( const std::map< namespace_index, uint64_t > &  ns_counter,
const set_ns_list_t exclusions 
)
static

◆ gen_quadratic_interactions()

static interaction_vec_t VW::reductions::automl::ns_based_config::gen_quadratic_interactions ( const std::map< namespace_index, uint64_t > &  ns_counter,
const set_ns_list_t exclusions 
)
static

◆ reset()

void VW::reductions::automl::ns_based_config::reset ( set_ns_list_t &&  ns_list,
uint64_t  lease,
config_type  conf_type 
)
inline

Member Data Documentation

◆ conf_type

config_type VW::reductions::automl::ns_based_config::conf_type = VW::reductions::automl::config_type::Exclusion

◆ elements

set_ns_list_t VW::reductions::automl::ns_based_config::elements

◆ lease

uint64_t VW::reductions::automl::ns_based_config::lease

◆ state

config_state VW::reductions::automl::ns_based_config::state = VW::reductions::automl::config_state::New

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