#include <params.h>
Definition at line 17 of file params.h.
◆ Parameters()
Brush::Parameters::Parameters |
( |
| ) |
|
|
inline |
◆ ~Parameters()
Brush::Parameters::~Parameters |
( |
| ) |
|
|
inline |
◆ get_batch_size()
float Brush::Parameters::get_batch_size |
( |
| ) |
|
|
inline |
◆ get_classification()
bool Brush::Parameters::get_classification |
( |
| ) |
|
|
inline |
◆ get_current_gen()
◆ get_cx_prob()
float Brush::Parameters::get_cx_prob |
( |
| ) |
|
|
inline |
◆ get_feature_names()
vector< string > Brush::Parameters::get_feature_names |
( |
| ) |
|
|
inline |
◆ get_functions()
std::unordered_map< std::string, float > Brush::Parameters::get_functions |
( |
| ) |
|
|
inline |
◆ get_load_population()
string Brush::Parameters::get_load_population |
( |
| ) |
|
|
inline |
◆ get_logfile()
string Brush::Parameters::get_logfile |
( |
| ) |
|
|
inline |
◆ get_max_depth()
unsigned Brush::Parameters::get_max_depth |
( |
| ) |
const |
|
inline |
◆ get_max_gens()
int Brush::Parameters::get_max_gens |
( |
| ) |
|
|
inline |
◆ get_max_size()
unsigned Brush::Parameters::get_max_size |
( |
| ) |
const |
|
inline |
◆ get_max_stall()
int Brush::Parameters::get_max_stall |
( |
| ) |
|
|
inline |
◆ get_max_time()
int Brush::Parameters::get_max_time |
( |
| ) |
|
|
inline |
◆ get_mig_prob()
float Brush::Parameters::get_mig_prob |
( |
| ) |
|
|
inline |
◆ get_mutation_probs()
std::map< std::string, float > Brush::Parameters::get_mutation_probs |
( |
| ) |
|
|
inline |
◆ get_n_classes()
◆ get_n_jobs()
int Brush::Parameters::get_n_jobs |
( |
| ) |
|
|
inline |
◆ get_num_islands()
int Brush::Parameters::get_num_islands |
( |
| ) |
|
|
inline |
◆ get_objectives()
vector< string > Brush::Parameters::get_objectives |
( |
| ) |
|
|
inline |
◆ get_pop_size()
int Brush::Parameters::get_pop_size |
( |
| ) |
|
|
inline |
◆ get_random_state()
int Brush::Parameters::get_random_state |
( |
| ) |
|
|
inline |
◆ get_save_population()
string Brush::Parameters::get_save_population |
( |
| ) |
|
|
inline |
◆ get_scorer_()
string Brush::Parameters::get_scorer_ |
( |
| ) |
|
|
inline |
◆ get_sel()
string Brush::Parameters::get_sel |
( |
| ) |
|
|
inline |
◆ get_shuffle_split()
bool Brush::Parameters::get_shuffle_split |
( |
| ) |
|
|
inline |
◆ get_surv()
string Brush::Parameters::get_surv |
( |
| ) |
|
|
inline |
◆ get_use_arch()
bool Brush::Parameters::get_use_arch |
( |
| ) |
|
|
inline |
◆ get_val_from_arch()
bool Brush::Parameters::get_val_from_arch |
( |
| ) |
|
|
inline |
◆ get_validation_size()
float Brush::Parameters::get_validation_size |
( |
| ) |
|
|
inline |
◆ get_verbosity()
int Brush::Parameters::get_verbosity |
( |
| ) |
|
|
inline |
◆ set_batch_size()
void Brush::Parameters::set_batch_size |
( |
float | c | ) |
|
|
inline |
◆ set_classification()
void Brush::Parameters::set_classification |
( |
bool | c | ) |
|
|
inline |
◆ set_current_gen()
◆ set_cx_prob()
void Brush::Parameters::set_cx_prob |
( |
float | new_cx_prob | ) |
|
|
inline |
◆ set_feature_names()
void Brush::Parameters::set_feature_names |
( |
vector< string > | vn | ) |
|
|
inline |
◆ set_functions()
void Brush::Parameters::set_functions |
( |
std::unordered_map< std::string, float > | new_functions | ) |
|
|
inline |
◆ set_load_population()
void Brush::Parameters::set_load_population |
( |
string | new_load_population | ) |
|
|
inline |
◆ set_logfile()
void Brush::Parameters::set_logfile |
( |
string | s | ) |
|
|
inline |
◆ set_max_depth()
void Brush::Parameters::set_max_depth |
( |
unsigned | new_max_depth | ) |
|
|
inline |
◆ set_max_gens()
void Brush::Parameters::set_max_gens |
( |
int | new_max_gens | ) |
|
|
inline |
◆ set_max_size()
void Brush::Parameters::set_max_size |
( |
unsigned | new_max_size | ) |
|
|
inline |
◆ set_max_stall()
void Brush::Parameters::set_max_stall |
( |
int | new_max_stall | ) |
|
|
inline |
◆ set_max_time()
void Brush::Parameters::set_max_time |
( |
int | new_max_time | ) |
|
|
inline |
◆ set_mig_prob()
void Brush::Parameters::set_mig_prob |
( |
float | new_mig_prob | ) |
|
|
inline |
◆ set_mutation_probs()
void Brush::Parameters::set_mutation_probs |
( |
std::map< std::string, float > | new_mutation_probs | ) |
|
|
inline |
◆ set_n_classes()
◆ set_n_jobs()
void Brush::Parameters::set_n_jobs |
( |
int | new_n_jobs | ) |
|
|
inline |
◆ set_num_islands()
void Brush::Parameters::set_num_islands |
( |
int | new_num_islands | ) |
|
|
inline |
◆ set_objectives()
void Brush::Parameters::set_objectives |
( |
vector< string > | new_objectives | ) |
|
|
inline |
◆ set_pop_size()
void Brush::Parameters::set_pop_size |
( |
int | new_pop_size | ) |
|
|
inline |
◆ set_random_state()
void Brush::Parameters::set_random_state |
( |
int | new_random_state | ) |
|
|
inline |
◆ set_save_population()
void Brush::Parameters::set_save_population |
( |
string | new_save_population | ) |
|
|
inline |
◆ set_scorer_()
void Brush::Parameters::set_scorer_ |
( |
string | new_scorer_ | ) |
|
|
inline |
◆ set_sel()
void Brush::Parameters::set_sel |
( |
string | new_sel | ) |
|
|
inline |
◆ set_shuffle_split()
void Brush::Parameters::set_shuffle_split |
( |
bool | shuff | ) |
|
|
inline |
◆ set_surv()
void Brush::Parameters::set_surv |
( |
string | new_surv | ) |
|
|
inline |
◆ set_use_arch()
void Brush::Parameters::set_use_arch |
( |
bool | new_use_arch | ) |
|
|
inline |
◆ set_val_from_arch()
void Brush::Parameters::set_val_from_arch |
( |
bool | new_val_from_arch | ) |
|
|
inline |
◆ set_validation_size()
void Brush::Parameters::set_validation_size |
( |
float | s | ) |
|
|
inline |
◆ set_verbosity()
void Brush::Parameters::set_verbosity |
( |
int | new_verbosity | ) |
|
|
inline |
◆ batch_size
float Brush::Parameters::batch_size = 0.0 |
◆ class_weights
vector<float> Brush::Parameters::class_weights |
weights for each class
Definition at line 66 of file params.h.
◆ classes
vector<int> Brush::Parameters::classes |
class labels
Definition at line 65 of file params.h.
◆ classification
bool Brush::Parameters::classification |
◆ current_gen
◆ cx_prob
float Brush::Parameters::cx_prob =0.2 |
cross rate for variation
Definition at line 60 of file params.h.
◆ feature_names
vector<string> Brush::Parameters::feature_names = {} |
◆ functions
std::unordered_map<string, float> Brush::Parameters::functions |
◆ load_population
string Brush::Parameters::load_population = "" |
◆ logfile
string Brush::Parameters::logfile = "" |
◆ max_depth
◆ max_gens
int Brush::Parameters::max_gens = 100 |
◆ max_size
◆ max_stall
int Brush::Parameters::max_stall = 0 |
◆ max_time
int Brush::Parameters::max_time = -1 |
◆ mig_prob
float Brush::Parameters::mig_prob = 0.05 |
◆ mode
string Brush::Parameters::mode ="regression" |
◆ mutation_probs
std::map<std::string, float> Brush::Parameters::mutation_probs |
Initial value:= {
{"point", 0.167},
{"insert", 0.167},
{"delete", 0.167},
{"subtree", 0.167},
{"toggle_weight_on", 0.167},
{"toggle_weight_off", 0.167}
}
Definition at line 51 of file params.h.
◆ n_classes
◆ n_jobs
int Brush::Parameters::n_jobs = 1 |
number of parallel jobs -1 use all threads; 0 use same as number of islands; positive number specify the amouut of threads
Definition at line 85 of file params.h.
◆ num_islands
int Brush::Parameters::num_islands =5 |
◆ objectives
vector<string> Brush::Parameters::objectives {"error","complexity"} |
◆ pop_size
int Brush::Parameters::pop_size = 100 |
◆ random_state
int Brush::Parameters::random_state = 0 |
◆ sample_weights
vector<float> Brush::Parameters::sample_weights |
weights for each sample
Definition at line 67 of file params.h.
◆ save_population
string Brush::Parameters::save_population = "" |
◆ scorer_
string Brush::Parameters::scorer_ ="mse" |
actual loss function used, determined by error
Definition at line 63 of file params.h.
◆ sel
string Brush::Parameters::sel = "lexicase" |
◆ shuffle_split
bool Brush::Parameters::shuffle_split = false |
◆ surv
string Brush::Parameters::surv = "nsga2" |
◆ use_arch
◆ val_from_arch
bool Brush::Parameters::val_from_arch =true |
◆ validation_size
float Brush::Parameters::validation_size = 0.75 |
◆ verbosity
int Brush::Parameters::verbosity = 0 |
The documentation for this struct was generated from the following file: