GA Part 1 Slides
GA Part 1 Slides
weights (G R)
The phenotype (P) is the behaviour of the tank,
driven by the neural network, and Fitness (F) is the
number of mines that it runs over/unit time in
environment E.
http://www.ai-junkie.com/ann/evolved/nnt1.html
Representation
Two principles
Meaningful building blocks
“user should select a coding so that short, low order schemata are
relevant to the underlying problem”
Minimal alphabets
“user should select the smallest alphabet that permits a natural
expression of the problem”
Although in reality an encoding is normally selected
that is relatively easy to code and represent the
problem (and therefore often NOT binary!)
Fitness
Ranking
Roulette selection
each individual is given a slice of a virtual roulette
wheel
size of each slice is proportional to fitness
fitness(i )
propfitness (i ) N
fitness(i)
i 1
Roulette wheel selection
A 25 A 0.25
B 20 B 0.2
C 40 C 0.4
D 10 D 0.1
E 5 E 0.05
Roulette selection
E
D
A
C B
N-Tournament selection
uniform
Stochastic process
not guaranteed to find an optimal solution
For problems with multiple solutions (e.g. multi-modal
problems) it converges to just one solution
Extensions to multimodal/multiobjective concepts
will be examined in later lectures
References
Genetics Algorithm Tutorial by A. Townsend
(available on Blackboard under this lecture)
Whigham, P.A., Dick, G. & Maclaurin, J. On the mapping of genotype to phenotype in evolutionary
algorithms. Genet Program Evolvable Mach 18, 353–361 (2017).
https://doi.org/10.1007/s10710-017-9288-x
Eiben, A., Smith, J. From evolutionary computation to the evolution of things. Nature 521, 476–482
(2015). https://doi.org/10.1038/nature14544
Genetic Algorithm Tutorial & Java Applets (needs Java support on browser) :
http://www.obitko.com/tutorials/genetic-algorithms/
Goldberg, D.E. (1989) “Genetic Algorithms in Search, Optimization and Machine Learning”,
Addison-Wesley,Reading (library)