Skip to content

Commit

Permalink
add neat config
Browse files Browse the repository at this point in the history
  • Loading branch information
Fer14 committed Aug 28, 2024
1 parent 6f4d1ab commit 92f2ce2
Showing 1 changed file with 79 additions and 0 deletions.
79 changes: 79 additions & 0 deletions neat_/config.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
[NEAT]
fitness_criterion = max
fitness_threshold = 100000000
pop_size = 30
reset_on_extinction = True

[DefaultGenome]
# node activation options
activation_default = tanh
activation_mutate_rate = 0.01
activation_options = tanh

# node aggregation options
aggregation_default = sum
aggregation_mutate_rate = 0.01
aggregation_options = sum

# node bias options
bias_init_mean = 0.0
bias_init_stdev = 1.0
bias_max_value = 30.0
bias_min_value = -30.0
bias_mutate_power = 0.5
bias_mutate_rate = 0.7
bias_replace_rate = 0.1

# genome compatibility options
compatibility_disjoint_coefficient = 1.0
compatibility_weight_coefficient = 0.5

# connection add/remove rates
conn_add_prob = 0.5
conn_delete_prob = 0.5

# connection enable options
enabled_default = True
enabled_mutate_rate = 0.01

feed_forward = True
initial_connection = full

# node add/remove rates
node_add_prob = 0.2
node_delete_prob = 0.2

# network parameters
num_hidden = 0
num_inputs = 5
num_outputs = 4

# node response options
response_init_mean = 1.0
response_init_stdev = 0.0
response_max_value = 30.0
response_min_value = -30.0
response_mutate_power = 0.0
response_mutate_rate = 0.0
response_replace_rate = 0.0

# connection weight options
weight_init_mean = 0.0
weight_init_stdev = 1.0
weight_max_value = 30
weight_min_value = -30
weight_mutate_power = 0.5
weight_mutate_rate = 0.8
weight_replace_rate = 0.1

[DefaultSpeciesSet]
compatibility_threshold = 2.0

[DefaultStagnation]
species_fitness_func = max
max_stagnation = 20
species_elitism = 2

[DefaultReproduction]
elitism = 3
survival_threshold = 0.2

0 comments on commit 92f2ce2

Please sign in to comment.