Week 8: Genetic Algorithm
This week I reviewed the genetic algorithms materials and followed this video to create my own target seeking genetic algorithm. In order to better see how the new population relates to the previous population I tracked the particles and used some alpha (Figure 1).
I think this example does a good job of seeing how a particle with a good fitness closely follows the genes of a previous particle but not exactly. This way of looking at the genetic algorithm makes it clearer to me that everything is working properly and how exactly the populations are changing.
Click here to view this example.
Click here to view the code.