GENETIC ALGORITHMS: PREREQUISITES
Date: Friday 18 March 2016 Course: Functional Programming and Intelligent Algorithms Lecturer: Robin T. Bye
GENETIC ALGORITHMS: PREREQUISITES Date: Friday 18 March 2016 - - PowerPoint PPT Presentation
GENETIC ALGORITHMS: PREREQUISITES Date: Friday 18 March 2016 Course: Functional Programming and Intelligent Algorithms Lecturer: Robin T. Bye 1 Topics in this module Introduction to AI and optimisation Nature-inspired algorithms
Date: Friday 18 March 2016 Course: Functional Programming and Intelligent Algorithms Lecturer: Robin T. Bye
– Focus on the genetic algorithm (GA)
Ed., 2004.
– Machine Learning: An Algorithmic Perspective, Marsland, 2nd Ed., 2015. – Artificial Intelligence: A Guide to Intelligent Systems, Negnevitsky, 2nd Ed., 2002. – Genetic Algorithms in Search, Optimization and Machine Learning, Goldberg, 1989. – Artificial Intelligence: A Modern Approach, Russell and Norvig, 3rd Ed., 2010.
agents»
environment and takes actions that maximize its chances of success»
– Problem-solving – Knowledge, reasoning, planning – Uncertain knowledge and reasoning – Learning – Communicating, perceiving, acting (categories from R&N)
– Useful in problem-solving
– What does”best” mean?
PL top scorer
C=f(x0,y0,z0)
x, y, z
minimises cost C.
Q: What are the dimensions of the search space?
function (put minus in front)
how the output will change experimentalist approach
variables/inputs in clever ways to obtain desired (optimal) output theoretician approach
– Difficulty increases with dimension number
with time)
fastest route depends on traffic, weather, etc. at a given time
– Known as combinatorial optimisation – Eg. optimal order to do a set of tasks
– Eg. f(x) = x^2
– eg., –1 < x < 1
number
reached minimum – Fast – May get stuck at local minimum
– Slower – Better at finding global minimum
cost)
sample points.
fine search of smaller regions
– Find root x_m such that derivative f’(x_m)=0 – Check 2nd derivative
– eg., solve grad f(x,y,z) = 0
– Which minimum is global?
– Requires cts. differentiable functions with analytical gradients – Difficult with many variables – Suffers at cliffs or boundaries in cost surface
– Coordinate search method – Steepest descent algorithm – Newton’s method techniques – Quadratic programming