Table of Contents

Genetic programming

The goal of this lab exercise is to get some experience with using genetic programming on various test problems. You are going to use the genetic programming tool implemented in HeuristicLab. You will use it to solve the following problems:

HeuristicLab

HeuristicLab is a framework for heuristic and evolutionary algorithms developed by members of the Heuristic and Evolutionary Algorithms Laboratory since 2002. There are many machine learning and (meta)heuristic algorithms, not only the evolutionary ones, plus many problems already implemented in the HeuristicLab. Moreover, HeuristicLab comes with a user friendly graphical interface that serves to set the algorithm's parameters and provides the user with various visualizations.

Instalation

If using Windows, just download the binaries from download and then run HeuristicLab 3.3.exe.

Please note that HeuristicLab also runs on Linux with Mono but with a limited support available. Check out the HeuristicLab and Mono Howto for more information.

Running test problems

Execute the HeuristicLab 3.3.exe and then:

Videos:

Changing GP parameters

GP parameters can be set on tabs Problem and Algorithm.

Function set:

Fitness:

Use your own csv input file for Symbolic Regression:

Results

All results, the running as well as the final ones, are under the tab Results.

Besides other statistics there is always the Best Solution or the Best training solution, that you can explore in detail.

What you should try

And of course, feel free to play with other algorithms and other problems as well!