Skip to content

Commit 8abb639

Browse files
Fix single pole balancing example config.
1 parent 914a79e commit 8abb639

2 files changed

Lines changed: 28 additions & 8 deletions

File tree

examples/single-pole-balancing/config-ctrnn

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
# NEAT configuration for the bit-sequence memory experiment.
2-
3-
# The `NEAT` section specifies parameters particular to the NEAT algorithm
4-
# or the experiment itself. This is the only required section.
51
[NEAT]
62
fitness_criterion = max
73
fitness_threshold = 60.0
84
pop_size = 250
95
reset_on_extinction = 0
106

7+
no_fitness_termination = False
8+
119
[DefaultGenome]
1210
num_inputs = 4
1311
num_hidden = 1
@@ -51,14 +49,26 @@ weight_mutate_power = 0.5
5149
enabled_default = True
5250
enabled_mutate_rate = 0.01
5351

52+
single_structural_mutation = false
53+
structural_mutation_surer = default
54+
bias_init_type = gaussian
55+
response_init_type = gaussian
56+
weight_init_type = gaussian
57+
enabled_rate_to_true_add = 0.0
58+
enabled_rate_to_false_add = 0.0
59+
5460
[DefaultSpeciesSet]
5561
compatibility_threshold = 3.0
5662

5763
[DefaultStagnation]
5864
species_fitness_func = max
5965
max_stagnation = 20
6066

67+
species_elitism = 2
68+
6169
[DefaultReproduction]
6270
elitism = 2
6371
survival_threshold = 0.2
6472

73+
min_species_size = 2
74+

examples/single-pole-balancing/config-feedforward

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
# NEAT configuration for the bit-sequence memory experiment.
2-
3-
# The `NEAT` section specifies parameters particular to the NEAT algorithm
4-
# or the experiment itself. This is the only required section.
51
[NEAT]
62
fitness_criterion = max
73
fitness_threshold = 60.0
84
pop_size = 250
95
reset_on_extinction = 0
106

7+
no_fitness_termination = False
8+
119
[DefaultGenome]
1210
num_inputs = 4
1311
num_hidden = 1
@@ -51,14 +49,26 @@ weight_mutate_power = 0.5
5149
enabled_default = True
5250
enabled_mutate_rate = 0.01
5351

52+
single_structural_mutation = false
53+
structural_mutation_surer = default
54+
bias_init_type = gaussian
55+
response_init_type = gaussian
56+
weight_init_type = gaussian
57+
enabled_rate_to_true_add = 0.0
58+
enabled_rate_to_false_add = 0.0
59+
5460
[DefaultSpeciesSet]
5561
compatibility_threshold = 3.0
5662

5763
[DefaultStagnation]
5864
species_fitness_func = max
5965
max_stagnation = 20
6066

67+
species_elitism = 2
68+
6169
[DefaultReproduction]
6270
elitism = 2
6371
survival_threshold = 0.2
6472

73+
min_species_size = 2
74+

0 commit comments

Comments
 (0)