Open hugoaboud opened 3 years ago
Thanks for the pull request, and sorry it's taken me so long to get around to commenting here. Adding some kind of support for multiple objectives is a good idea, and I'll see if I can get this integrated in the near future.
Hi, I've been working on an implementation of NSGA-II as a Reproduction method for NEAT, in order to allow dealing with multiple fitness values. The readme presents all the details.
A small 2D hoverboard example was designed to benchmark the NSGA-II in comparison to the DefaultReproduction method. All the details and result comparisons are described on the hoverboard readme.
It has shown promising results, and was built with minimal (and backwards-compatible) modifications to the original library code. I hope you find it interesting. I'll outline here the commits that modify the original lib files:
__init__.py
andsetup.py
NSGA2Fitness.__float__
.NSGA2Reproduction.sort()
right after fitness evaluation, beforebest_genome
evaluation.