Customizing Mutation in Your Framework
Genetic Algorithms in Elixir — by Sean Moriarity (59 / 101)
👈 Understanding Mutation | TOC | Implementing Common Mutation Strategies 👉
Just like in Chapter 5, Selecting the Best, and Chapter 6, Generating New Solutions, you’ll need to slightly modify your framework to allow you to customize mutation hyperparameters. These hyperparameters are mutation strategy and mutation rate.
In this section, you’ll create a mutation toolbox and modify your framework to allow you to…