Skip to content

Checkpointer dumps population after reproduction #213

@hugoaboud

Description

@hugoaboud

Hi, I'm working on a fork of this repository and I've realized the Checkpointer reporter uses the end_generation callback, so most of the individuals dumped have not been evaluated yet.

Is there a reason why end_generation is the default callback here? It feels kinda wrong.

I needed to store the evaluated population, so I've changed it to use post_evaluate instead.
Also, in order to store the best_genome correctly, the call to post_evaluate on population.py was moved past the best_genome evaluation, and best_genome was added to the pickle dump method.
All the changes are documented on the commit.

Please let me know if this is desirable on this fork and I'll make a pull request :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy