Simple Genetic Algorithm / Jednoduchý genetický algoritmus

Re: Simple Genetic Algorithm / Jednoduchý genetický algoritmus

par Martin Pilát,
Nombre de réponses : 0

Hi, 

yes, if you click run, it will make 10 independent runs of the evolutionary algorithm. In the logs, you then have files with names ending in fitness.0 - fitness.9 and objective.0 to objective.9 (one for each run). These are the logs of the individual runs (first column is the fitness/objective of the best individual in the population, second column is the average fitness of the whole population, in both cases the value logged after each generation).

The logs also contain the files ending with .objective_stats and .fitness_stats that contain statistical information computed over the 10 runs.

So, it is enough to click "run" once and create the graph from the results. Of course, if you want to compare two or more different algorithms (or settings of the same algorithm), you need to run each of them once. In such a case, I recommend changing the log prefix in the properties file. Then, you can use the scripts to create the graph that compares the algorithms.

10 independent runs is enough for the needs of the seminar - you do not need to increase the number (of course, generally, for statistical evaluation, more is better - typically paper on evolutionary algorithms use around 20-50 runs).

If you have any more questions, let me know.

Have a nice weekend, 
Martin