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

Implement elitism #295

Open
kolergy opened this issue Oct 12, 2023 · 0 comments
Open

Implement elitism #295

kolergy opened this issue Oct 12, 2023 · 0 comments

Comments

@kolergy
Copy link

kolergy commented Oct 12, 2023

Thanks for your nice code.

Elitism is extremely simple to implement and allows to ensure that the N best elements of the population are carried to the next generation avoiding the fitness drop that can be seen when running GPlearn fit

N=1 is a good value, for very large population it can be beneficial to push it up a bit.

ref: Dejong K. (1975), An analysis of the behavior of a class of a class of genetic adaptive systems. PhD Thesis, University of Michigan.

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant