Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controlling the Wallclock time by limiting the Number of individual evaluations #224

Closed
HenrikMettler opened this issue Aug 3, 2020 · 2 comments · Fixed by #238
Closed
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@HenrikMettler
Copy link
Contributor

HenrikMettler commented Aug 3, 2020

Currently the evolve function is limited by the number of generations or attaining a fitness goal (min_fitness). However the number of generations is only loosely related to the number of fitness evaluations, since only individuals with a novel phenotype (new configuration of active genes) are evaluated. In a qualitative comparison study for cgp's evolutionary mechanisms (https://ieeexplore.ieee.org/document/6815728/?arnumber=6815728) Goldman et al. benchmark their parameter tuning on the number of fitness evaluations. I would argue that this could be a reasonable approach for us as well, since presumably in most of the implementations:
T(evaluating_individual) = big
T(calculating_genome_output) = small
Therefore allowing the user to define a maximal number of fitness evaluations might simplify the control of a maximal simulation duration.

@mschmidt87
Copy link
Member

Makes sense to me. This could be an additional keyword argument for the evolve function which can be set instead of max_generations.

@mschmidt87 mschmidt87 modified the milestones: 0.2.0, #thefuture Aug 3, 2020
@mschmidt87 mschmidt87 added the enhancement New feature or request label Aug 3, 2020
@jakobj
Copy link
Member

jakobj commented Aug 3, 2020

an additional keyword makes sense, but i wouldn't make the two exclusive: just break whenever one of the two reaches it's maximal value.

@HenrikMettler HenrikMettler self-assigned this Aug 4, 2020
@jakobj jakobj linked a pull request Aug 27, 2020 that will close this issue
@jakobj jakobj modified the milestones: #thefuture, 0.2.0 Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants