Code Page
Primer Design Machine Learning Project

People

Dan Ashlock


New Code and Data

g++ -lm -O3 -o evolve.exe GA_2003_TwoClass.cpp vaut.cpp
Place evolve.exe, primer2000.dat, BestClA.dat in a directory together, execute evolve.exe, and send me the resulting file classAut.dat.


Code

To run the machine learning algorithm you will need one of the two mail source files below, the vaut class of finite state machines, and a traning data set (of which we have one available at present).

Using the code

A run of the software should always be performed in its own directory.
g++ -lm -O3 -o evolve.exe PrimClass.cpp vaut.cpp
The directory must have a copy of the training data as well.

After running the genetic algorithm several files will be present. There include run#.dat files which contain the mean, deviation of, and maximum fitness for each generation of each run as well as a classAut.dat file that contains the bes automata found in each run together with its fitness.

To perform hybridization, use the PrimClass2.cpp source file and include a file BestClA.dat in the directory. This file is in exactly the format of the classAut.dat file produced by PrimClass.cpp. Simply copying the file is the simplest way to procede.


Best-of-Run Data:FSMs


Pictures(Postscipt version in PS link)

PS
PS
PS
PS
PS
PS
PS