Last Updated: February 25, 2016
·
7.095K
· lowerkey

Genetic Programming in Python

This weekend, I was introduced to Genetic Programming.

See
1. http://burakkanber.com/blog/machine-learning-genetic-algorithms-part-1-javascript/ for a thorough walk through
2. https://github.com/lowerkey/genetic_programming for the python implementation

Things I played with:
Population size: increasing the population size from 100 to 1000 did not result in a noticeable reduction in the number of generations needed to produce the target string. Maybe additionally randomizing the initial genomes would reduce the generationNumber together with increased population size. At the moment each gene simply starts out with all As.