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.
Written by Joshua Moore
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Python
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#