nazaruka / gym-http-api

NSGA2-based Sonic agent + experimental code
MIT License
1 stars 1 forks source link

Better mutation and crossover #40

Closed schrum2 closed 5 years ago

schrum2 commented 5 years ago

The mutation operation being used is extremely simplistic. Consider borrowing some operations from here: https://github.com/DEAP/deap/tree/master/deap/tools

schrum2 commented 5 years ago

This is important. Our current mutation is not helping at all ... nearly every child member has a fitness of 0.

schrum2 commented 5 years ago

As a result of this change, mutated children actually show positive fitness, and demonstrate the ability to improve over the parent. Going to close this for now. We could try to improve crossover as well, or use a more sophisticated mutation operation, but this seems good enough.