Running the simple maze navigation experiment with NS optimization

Make sure you copy all related Python scripts and configuration files (maze_config.ini and medium_maze.txt) into the local directory from the online repository that can be found at: https://github.com/PacktPublishing/Hands-on-Neuroevolution-with-Python/blob/master/Chapter6/.

Now enter this directory, and execute the following command in the Terminal application:

python maze_experiment.py -g 500 -t 10 -m medium --width 300 --height 150
Do not forget to activate the appropriate virtual environment with the following command: conda activate maze_ns_neat

The preceding command runs 10 trials of the maze navigation experiment with the simple maze configuration loaded from the ...

Get Hands-On Neuroevolution with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.