Genetic Algorithm Fitness, Genotype vs Phenotype

Nature of Code Video #9.5

In part 5 of my genetic algorithm series I discuss how you can adapt the algorithm for your own creative project. The key pieces are designing and implementing a custom “fitness function” as well as how you choose to encode your DNA (genotype vs phenotype).