Skip to content

Instantly share code, notes, and snippets.

@stefanopalmieri
Created September 20, 2016 18:02
Show Gist options
  • Save stefanopalmieri/46895f3c8529babcb208f4d990ed2680 to your computer and use it in GitHub Desktop.
Save stefanopalmieri/46895f3c8529babcb208f4d990ed2680 to your computer and use it in GitHub Desktop.
#--- parameters for the pole experiment v1 ---#
# Two trials were held for each organism and the average fitness was taken.
# The `Types` section specifies which classes should be used for various
# tasks in the NEAT algorithm. If you use a non-default class here, you
# must register it with your Config instance before loading the config file.
[Types]
stagnation_type = DefaultStagnation
reproduction_type = DefaultReproduction
[phenotype]
input_nodes = 4
hidden_nodes = 4
output_nodes = 1
initial_connection = fs_neat
max_weight = 10
min_weight = -10
feedforward = 0
activation_functions = sigmoid identity relu
weight_stdev = 3
[genetic]
pop_size = 50
max_fitness_threshold = 600
prob_add_conn = 0.58
prob_add_node = 0.055
prob_delete_conn = 0.0276
prob_delete_node = 0.002352
prob_mutate_bias = 0.00109
bias_mutation_power = 0.01
prob_mutate_response = 0.01
response_mutation_power = 0.01
prob_mutate_weight = 0.060
prob_replace_weight = 0.0245
weight_mutation_power = 0.025
prob_mutate_activation = 0.01
prob_toggle_link = 0.0138
reset_on_extinction = 1
[genotype compatibility]
compatibility_threshold = 3
excess_coefficient = 1.0
disjoint_coefficient = 1.0
weight_coefficient = 0.4
[DefaultStagnation]
species_fitness_func = mean
max_stagnation = 5
[DefaultReproduction]
elitism = 1
survival_threshold = 0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment