kstaats / karoo_gp

A Genetic Programming platform for Python with TensorFlow for wicked-fast CPU and GPU support.
Other
161 stars 61 forks source link

Mutation and Crossover #28

Open asksak opened 3 years ago

asksak commented 3 years ago

Hello Everyone,

I came across these formulae with regards to efficient mutation and cross over:

Screen Shot 2021-03-10 at 10 42 55 AM

Perhaps dynamic mutation and crossover are important to maintain a positive progression of the optimization.

Best,

Aymen

asksak commented 3 years ago

This graph shows how copying population_f to population_s every 100 generations comes up with a dramatically better solution , then how keeping a long run does not.

Screen Shot 2021-04-08 at 1 00 29 PM

asksak commented 3 years ago

Dear Kai,

please look into the points I raised above. I will try my best to add code to implement this automatically, and will get back to you with the results.

kstaats commented 3 years ago

Dear Kai,

please look into the points I raised above. I will try my best to add code to implement this automatically, and will get back to you with the results.

Thank you, as always, for your contribution to Karoo. I have downloaded your zip archive and will review as soon as possible. However, it will be ideal if you can watch a YouTube video or follow the Guides provided by github: https://guides.github.com/

This will allow me to more easily compare your suggested changes to Karoo to the original code, and if I accept your changes, with just a few mouse clicks integrate it into the master branch.

Cheers, kai