Skip to content

Instantly share code, notes, and snippets.

@StuartFarmer
Last active August 8, 2016 00:04
Show Gist options
  • Save StuartFarmer/0eb392275e9628498a3d25e6d5fb7d42 to your computer and use it in GitHub Desktop.
Save StuartFarmer/0eb392275e9628498a3d25e6d5fb7d42 to your computer and use it in GitHub Desktop.
MountainCar config
#--- parameters for the XOR-2 experiment ---#
# 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 = 2
hidden_nodes = 5
output_nodes = 1
initial_connection = fs_neat
max_weight = 10
min_weight = -10
feedforward = 1
activation_functions = sigmoid identity relu
weight_stdev = 3
[genetic]
pop_size = 25
max_fitness_threshold = -529
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