-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathparameters.py
17 lines (17 loc) · 1.76 KB
/
parameters.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
parameters = {
"mapping": "2D_cosinus", # type of genome-to-behavior mapping {'linear', 'hyperbolic', 'bounded_linear', 'linear_seesaw', 'multiplicative', 'soft_multiplicative', 'hyperbolic_seesaw', 'multiplicative_seesaw', 'cosinus', '2D_cosinus', 'multiplicative_cosinus', 'peaks', '2D_peaks'}
"eta": 45, # mutation spread parameter
"n_pop": 20, # number of individuals in the population
"n_offspring": 40, # number of offsprings generated from the population at each generation
"criterion": "novelty", # type of novelty computation {'novelty', 'hull', 'fitness', 'random'}
"n_neighbors": 10, # number of closest neighbors to compute the "novelty" criterion
"best_fit": -4, # arbitrary behavior with the maximum fitness for the "fitness" criterion
"n_selected": 6, # number of offsprings added to the archive at each generation
"addition": "random", # strategy to add individuals to the archive {'novelty', 'random'}
"n_evolvability": 1000, # number of samples generated from each genome to evaluate its evolvability
"n_epochs": 1000, # number of generations of the search process
"restart": 99999, # generation at which the population is re-initialized
"frozen": 99999, # generation at which the reference set for the novelty computation is frozen
"n_runs": 100, # number of experiments to run in parallel
"name": "standard_novelty_random_100runs" # name of the results file (can be None))
}