Genetic Programming System in Python

One of the central challenges of computer science is to get a computer to do what needs to be done, without telling it how to do it. Genetic programming addresses this challenge by providing a method for automatically creating a working computer program from a high-level problem statement of the problem. Genetic programming achieves this goal of automatic programming (also sometimes called program synthesis or program induction) by genetically breeding a population of computer programs using the principles of Darwinian natural selection and biologically inspired operations. The operations include reproduction, crossover (sexual recombination), mutation, and architecture-altering operations patterned after gene duplication and gene deletion in nature.

Genetic programming is a domain-independent method that genetically breeds a population of computer programs to solve a problem. Specifically, genetic programming iteratively transforms a population of computer programs into a new generation of programs by applying analogs of naturally occurring genetic operations. The genetic operations include crossover (sexual recombination), mutation, reproduction, gene duplication, and gene deletion.

And I have written a Genetic Programming System which offeres complete flexibilty and great many options. It offers Plug and Play architecture i.e. to apply the GP system on a new problem you just need to define the fitness function. That's it. And your GP system is ready to churn out programs.

The programming language used is Python. This is because, in my view, Python is the most flexible language available to a programmer today. I mean one can just literaly translate his thoughts into a program using Python. Hence, unlike other programming language, The language itself doesnt offer any restrictions.

Well, I will write a tutorial on Genetic Programming one day soon, but till then learn more about Genetic Programming by clicking at the links below:

You are requested to use my GP system by testing it for new applications and problems. Please report to me if any one tests the system or enhances it or debugs it

Click below to download the source code.

Download Source