pyneat.config module

Customised configuration module with additional user-configurable parameters.

Modifies the config object in the default NEAT-Python config module to include the following additional parameters:

  • num_episodes: the number of episodes each genome/agent should be evaluated for.
  • num_runs: the number of evolutionary runs to perform.
  • checkpoint_interval: the number of generations between checkpoint saves.
  • max_generations: the maximum number of generations for each evolutionary run.
class pyneat.config.CustomConfig(genome_type, reproduction_type, species_set_type, stagnation_type, filename)[source]

Bases: object

A simple custom config container for user-configurable parameters of NEAT.

To include additional top-level parameters, specify them in __params.

save(filename)[source]