Page 106 - Data Science Algorithms in a Week
P. 106

90                              Fred K. Gruber






























                       Figure 12. Effect of elitism in the best fitness per generation.































                       Figure 13. Standard deviation of the average best fitness for elitism vs. not elitism.

                          We  use  simple  elitism,  i.e.,  the  best  parent  is  passed  unmodified  to  the  next
                       generation. As it is shown in Figure 12, by not using elitism there is a risk of losing good
                       individuals, which may also increase the number of generations needed to find a good
                       solution.
   101   102   103   104   105   106   107   108   109   110   111