Skip to content

Commit

Permalink
Configured brain-speciation experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
portaloffreedom committed Apr 3, 2020
1 parent c9200ce commit 7bfb1b6
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions experiments/brain-speciation/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@ async def run():
offspring_size = 50

body_conf = PlasticodingConfig(
max_structural_modules=30, # TODO increase
max_structural_modules=20, # TODO increase
allow_vertical_brick=False,
use_movement_commands=False,
use_movement_commands=True,
use_rotation_commands=False,
use_movement_stack=True,
use_movement_stack=False,
allow_joint_joint_attachment=False,
)
brain_conf = NeatBrainGenomeConfig()
brain_conf.multineat_params.DisjointCoeff = 0.3
Expand Down Expand Up @@ -64,7 +65,7 @@ async def run():
)

crossover_conf = lCrossoverConfig(
crossover_prob=0.0,
crossover_prob=0.8,
)
# experiment params #

Expand Down Expand Up @@ -120,10 +121,10 @@ def are_genomes_compatible_fn(genotype1: LSystemCPGHyperNEATGenotype,
# species stuff
are_genomes_compatible_fn=are_genomes_compatible_fn,
young_age_threshold=5,
young_age_fitness_boost=1.1,
old_age_threshold=30,
young_age_fitness_boost=2.0,
old_age_threshold=20,
old_age_fitness_penalty=0.5,
species_max_stagnation=50,
species_max_stagnation=30,
)

n_cores = args.n_cores
Expand Down

0 comments on commit 7bfb1b6

Please sign in to comment.