December 2019
Intermediate to advanced
368 pages
11h 10m
English
In this chapter, we introduce an upgrade to the experiment runner implementation. We implement support to run multiple trials sequentially until the solution is found. Such an upgrade dramatically simplifies working with the multiple experiment trials sequentially, especially taking into account that each trial can take a long time to execute.
The main cycle of the experiment runner now looks like this (see __main__ in the maze_experiment.py script):
print("Starting the %s maze experiment (Novelty Search), for %d trials" % (args.maze, args.trials)) for t in range(args.trials): print("\n\n----- Starting Trial: %d ------" % (t)) # Create novelty archive novelty_archive = archive.NoveltyArchive( threshold=args.ns_threshold, ...Read now
Unlock full access