Closed gianlucatruda closed 4 years ago
Looks like we want to use deap.tools.Logbook
and deap.tools.Statistics
The algorithm takes in a population and evolves it in place using the :meth:
varAnd
method. It returns the optimized population and a :class:~deap.tools.Logbook
with the statistics of the evolution. The logbook will contain the generation number, the number of evalutions for each generation and the statistics if a :class:~deap.tools.Statistics
is given as argument.
A :class:
~deap.tools.HallOfFame
object that will contain the best individuals, optional.
This could be useful too!
Completed. See PR #12
Stats we'd like to have at the end (preferably in a dataframe with generation as index):