-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexperiment_preevolve.py
36 lines (32 loc) · 979 Bytes
/
experiment_preevolve.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
from evolution import *
experiment_name = 'test'
_num_objectives = 2
_mutation_size = 0.3
_population_size = 10
_generations = 5
_cataclysmic_mutations_freqs = 0
_cataclysmic_mutations_size = 0
_max_score = 5
_timeout = 30
_num_bars = 12
_presets = range(1, 51+1, 1)
_go_live = True
_infinite_generations = False
_user_evaluation = True
experiment = Evolution(
experiment_name,
_num_objectives,
_mutation_size,
_population_size,
_generations,
_cataclysmic_mutations_freqs,
_cataclysmic_mutations_size,
_max_score,
_timeout,
_num_bars,
_presets,
_go_live,
_infinite_generations,
_user_evaluation
)
experiment.evolve()