Genetic Algorithms - PowerPoint PPT Presentation

About This Presentation
Title:

Genetic Algorithms

Description:

may lead to local, not global optimum. Nature. population of guesses ... Example: Karl Sim's creatures. Creatures. Sea Horse. Snake. CS 561, Session 26. 20 ... – PowerPoint PPT presentation

Number of Views:47
Avg rating:3.0/5.0
Slides: 21
Provided by: PaoloPi
Learn more at: http://ilab.usc.edu
Category:

less

Transcript and Presenter's Notes

Title: Genetic Algorithms


1
Genetic Algorithms
2
The Traditional Approach
  • Ask an expert
  • Adapt existing designs
  • Trial and error

3
Natures Starting Point
Alison Everitts A Users Guide to Men
4
Optimised Man!
5
Example Pursuit and Evasion
  • Using NNs and Genetic algorithm
  • 0 learning
  • 200 tries
  • 999 tries

6
Comparisons
  • Traditional
  • best guess
  • may lead to local, not global optimum
  • Nature
  • population of guesses
  • more likely to find a better solution

7
More Comparisons
  • Nature
  • not very efficient
  • at least a 20 year wait between generations
  • not all mating combinations possible
  • Genetic algorithm
  • efficient and fast
  • optimization complete in a matter of minutes
  • mating combinations governed only by fitness

8
The Genetic Algorithm Approach
  • Define limits of variable parameters
  • Generate a random population of designs
  • Assess fitness of designs
  • Mate selection
  • Crossover
  • Mutation
  • Reassess fitness of new population

9
A Population
10
Ranking by Fitness
11
Mate Selection Fittest are copied and replaced
less-fit
12
Mate Selection RouletteIncreasing the
likelihood but not guaranteeing the fittest
reproduction
13
CrossoverExchanging information through some
part of information (representation)
14
Mutation Random change of binary digits from 0
to 1 and vice versa (to avoid local minima)
15
Best Design
16
The GA Cycle
17
Genetic Algorithms
  • Adv
  • Good to find a region of solution including the
    optimal solution. But slow in giving the optimal
    solution

18
Genetic Approach
  • When applied to strings of genes, the approaches
    are classified as genetic algorithms (GA)
  • When applied to pieces of executable programs,
    the approaches are classified as genetic
    programming (GP)
  • GP operates at a higher level of abstraction than
    GA

19
Example Karl Sims creatures
  • Creatures
  • Sea Horse
  • Snake

20
Typical Chromosome
Write a Comment
User Comments (0)
About PowerShow.com