January 2020
Intermediate to advanced
346 pages
9h 8m
English
When the flow is done, the algorithm returns two objects—the final population and a logbook object containing the statistics collected. We can now extract the desired statistics from the logbook using the select() method, so we can use them for plotting just as we did before:
maxFitnessValues, meanFitnessValues = logbook.select("max", "avg")
We are now ready to run this slimmer version of the program.
Read now
Unlock full access