SlideShare ist ein Scribd-Unternehmen logo
1 von 29
By
Deepali Kundnani
   Shruti Railkar
 Survival   of the Fittest

 Natural    selection

                              Sir Charles Darwin
   Chromosomes from two
                        different parents

                       Chromatids from each
                        overlap at Chiasma

                       Recombinant chromosomes
                        are form

                       Further passed on to the
                        progeny
Genetic Crossover
A T T G C T C     ORIGINAL

A T A G C T C     SUBSTITUTION

A T T G A C T C   ADDITION

A T G C T C       DELETION
Offsprings have
                                   combinations of features
                                   inherited from each
                                   parent



Image adapted from http://www.wpdipart.com
Random changes are
                                  observed




Image adapted from http://www.wpdipart.com
Genetic Algorithm is a type of local search that
mimics evolution by taking a population of strings
which encode possible solutions and combines them
based on a fitness function to produce individuals that
are more fit.
1) Encoding the two numbers into binary strings
   Parent 1=3.273672 =>11.0100011000001
   Parent 2=3.173294 =>11.0010110001011
2) Randomly choose a crossover point; let suppose be it at bit 6,
   and we split the gene at position six.
   Parent 1=>3.273672=>11.010---0011000001
   Parent 2=>3.173294=>11.001---0110001011
3) Swapping the two tails ends of binary strings.
   Child 1=>11.010---0110001011
   Child 2=>11.001---0011000001
4) Recombining the two binary strings to get two new offspring.
   Child 1=>11.0100110001011
   Child 2=>11.0010011000001
5) Decoding the binary strings back into floating point numbers.
   Child 1=3.298218
   Child 2=3.148560
Zeroth Generation
First Generation
60th Generation
95th Generation
100th Generation
 Artificial
           Intelligence
 Automotive Design
 Computer Gaming
 Predicting Protein Structure
 Optimization Problems
 Music
 Business
Helps to determine the
accurate torsion angles
and predict protein
structure
Evolution of Monalisa : Roger Alsig Weblog
Minimizing total error over the set of data
                  points
 Source:http://www.geneticprogramming.org
Musical examples of variations output to get perfect music.
     Fitness function determinant here is human ear
Optimization of aerodynamics of a Car for a smooth drive on a crooked path


                             Source: Youtube
ADVANTAGES                          LIMITATIONS
   No training required             Do not work well when the
                                     population size is small and
                                     the rate of change is too high.
   Efficient even during
    Multi-modal or
    n-dimensional search space
                                    If the fitness function is chosen
                                     poorly or defined vaguely, the
   Can work for non-linear          Genetic Algorithm may be
    equations too                    unable to find a solution to the
                                     problem, or may end up
   Efficient                        solving the wrong problem
 GAOT- Genetic Algorithm Optimization
 Toolbox in Matlab

 JGAP is a Genetic Algorithms and Genetic
 Programming component provided as a Java
 framework

 Generator is another popular and powerful
 software running on Microsoft Excel
 Genetic Algorithm is related to “solving
 problems of everyday interest” in many
 diverse fields.
 However, several improvements can be
 made in order that Genetic Algorithm could
 be more generally applicable. Future work
 will continue through evolution and many
 more specific tasks
Introduction to Genetic Algorithms -Axcelis
http://www.axcelis.com:80/articles/itga/application.html

  How Genetic Algorithm works
http://www.mathworks.in/help/toolbox/gads/f6187.html

 Introduction to Bioinformatics
By Sundararajan & R. Balaji

  Functioning of a Genetic Algorithm
http://www.rennard.org/alife/english/gavintrgb.html#gafunct
Genetic Algorithms

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

MACHINE LEARNING - GENETIC ALGORITHM
MACHINE LEARNING - GENETIC ALGORITHMMACHINE LEARNING - GENETIC ALGORITHM
MACHINE LEARNING - GENETIC ALGORITHM
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
Genetic algorithm raktim
Genetic algorithm raktimGenetic algorithm raktim
Genetic algorithm raktim
 
Ga
GaGa
Ga
 
Genetic algorithm
Genetic algorithm Genetic algorithm
Genetic algorithm
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
 
Genetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial IntelligenceGenetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial Intelligence
 
Introduction to Genetic algorithms
Introduction to Genetic algorithmsIntroduction to Genetic algorithms
Introduction to Genetic algorithms
 
GENETIC ALGORITHM
GENETIC ALGORITHMGENETIC ALGORITHM
GENETIC ALGORITHM
 
Flowchart of GA
Flowchart of GAFlowchart of GA
Flowchart of GA
 
Genetic algorithm ppt
Genetic algorithm pptGenetic algorithm ppt
Genetic algorithm ppt
 
Introduction to Genetic Algorithms
Introduction to Genetic AlgorithmsIntroduction to Genetic Algorithms
Introduction to Genetic Algorithms
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
Genetic Algorithm by Example
Genetic Algorithm by ExampleGenetic Algorithm by Example
Genetic Algorithm by Example
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
Genetic Algorithm in Artificial Intelligence
Genetic Algorithm in Artificial IntelligenceGenetic Algorithm in Artificial Intelligence
Genetic Algorithm in Artificial Intelligence
 
Introduction to Genetic Algorithms
Introduction to Genetic AlgorithmsIntroduction to Genetic Algorithms
Introduction to Genetic Algorithms
 

Andere mochten auch

Power system protection
Power system protectionPower system protection
Power system protection
Anu Priya
 
An Introduction to Soft Computing
An Introduction to Soft ComputingAn Introduction to Soft Computing
An Introduction to Soft Computing
Tameem Ahmad
 
Soft computing (ANN and Fuzzy Logic) : Dr. Purnima Pandit
Soft computing (ANN and Fuzzy Logic)  : Dr. Purnima PanditSoft computing (ANN and Fuzzy Logic)  : Dr. Purnima Pandit
Soft computing (ANN and Fuzzy Logic) : Dr. Purnima Pandit
Purnima Pandit
 
POWER SYSTEM PROTECTION
POWER SYSTEM PROTECTION POWER SYSTEM PROTECTION
POWER SYSTEM PROTECTION
moiz89
 
Relay and switchgear protection
Relay and switchgear protectionRelay and switchgear protection
Relay and switchgear protection
Binit Das
 

Andere mochten auch (15)

Soft computing06
Soft computing06Soft computing06
Soft computing06
 
Electric drives
Electric drivesElectric drives
Electric drives
 
Power system protection
Power system protectionPower system protection
Power system protection
 
Genetic Algorithms Made Easy
Genetic Algorithms Made EasyGenetic Algorithms Made Easy
Genetic Algorithms Made Easy
 
An Introduction to Soft Computing
An Introduction to Soft ComputingAn Introduction to Soft Computing
An Introduction to Soft Computing
 
Neuro-fuzzy systems
Neuro-fuzzy systemsNeuro-fuzzy systems
Neuro-fuzzy systems
 
Soft computing (ANN and Fuzzy Logic) : Dr. Purnima Pandit
Soft computing (ANN and Fuzzy Logic)  : Dr. Purnima PanditSoft computing (ANN and Fuzzy Logic)  : Dr. Purnima Pandit
Soft computing (ANN and Fuzzy Logic) : Dr. Purnima Pandit
 
Unit I & II in Principles of Soft computing
Unit I & II in Principles of Soft computing Unit I & II in Principles of Soft computing
Unit I & II in Principles of Soft computing
 
Fuzzy logic application (aircraft landing)
Fuzzy logic application (aircraft landing)Fuzzy logic application (aircraft landing)
Fuzzy logic application (aircraft landing)
 
Soft computing
Soft computingSoft computing
Soft computing
 
Fuzzy logic ppt
Fuzzy logic pptFuzzy logic ppt
Fuzzy logic ppt
 
WSDM2016読み会 Collaborative Denoising Auto-Encoders for Top-N Recommender Systems
WSDM2016読み会 Collaborative Denoising Auto-Encoders for Top-N Recommender SystemsWSDM2016読み会 Collaborative Denoising Auto-Encoders for Top-N Recommender Systems
WSDM2016読み会 Collaborative Denoising Auto-Encoders for Top-N Recommender Systems
 
Chapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy LogicChapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy Logic
 
POWER SYSTEM PROTECTION
POWER SYSTEM PROTECTION POWER SYSTEM PROTECTION
POWER SYSTEM PROTECTION
 
Relay and switchgear protection
Relay and switchgear protectionRelay and switchgear protection
Relay and switchgear protection
 

Ähnlich wie Genetic Algorithms

GNA 13552928 deep learning for GAN a.ppt
GNA 13552928 deep learning for GAN a.pptGNA 13552928 deep learning for GAN a.ppt
GNA 13552928 deep learning for GAN a.ppt
ManiMaran230751
 
Genetic_Algorithm_AI(TU)
Genetic_Algorithm_AI(TU)Genetic_Algorithm_AI(TU)
Genetic_Algorithm_AI(TU)
Kapil Khatiwada
 
Combinational circuit designer using 2D Genetic Algorithm
Combinational circuit designer using 2D Genetic AlgorithmCombinational circuit designer using 2D Genetic Algorithm
Combinational circuit designer using 2D Genetic Algorithm
Vivek Maheshwari
 

Ähnlich wie Genetic Algorithms (20)

Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
 
Modified Genetic Algorithm for Solving n-Queens Problem
Modified Genetic Algorithm for Solving n-Queens ProblemModified Genetic Algorithm for Solving n-Queens Problem
Modified Genetic Algorithm for Solving n-Queens Problem
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
 
Evolution strategies as brain of autonomous agents
Evolution strategies as brain of autonomous agentsEvolution strategies as brain of autonomous agents
Evolution strategies as brain of autonomous agents
 
algo presentation.pptx
algo presentation.pptxalgo presentation.pptx
algo presentation.pptx
 
GAN.pptx
GAN.pptxGAN.pptx
GAN.pptx
 
Software testing
Software testingSoftware testing
Software testing
 
GNA 13552928 deep learning for GAN a.ppt
GNA 13552928 deep learning for GAN a.pptGNA 13552928 deep learning for GAN a.ppt
GNA 13552928 deep learning for GAN a.ppt
 
Artificial Intelligence - 2
Artificial Intelligence - 2Artificial Intelligence - 2
Artificial Intelligence - 2
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
An efficient and powerful advanced algorithm for solving real coded numerica...
An efficient and powerful advanced algorithm for solving real  coded numerica...An efficient and powerful advanced algorithm for solving real  coded numerica...
An efficient and powerful advanced algorithm for solving real coded numerica...
 
Geneticalgorithms 100403002207-phpapp02
Geneticalgorithms 100403002207-phpapp02Geneticalgorithms 100403002207-phpapp02
Geneticalgorithms 100403002207-phpapp02
 
BGA.pptx
BGA.pptxBGA.pptx
BGA.pptx
 
Genetic_Algorithm_AI(TU)
Genetic_Algorithm_AI(TU)Genetic_Algorithm_AI(TU)
Genetic_Algorithm_AI(TU)
 
Evolutionary Design of Swarms (SSCI 2014)
Evolutionary Design of Swarms (SSCI 2014)Evolutionary Design of Swarms (SSCI 2014)
Evolutionary Design of Swarms (SSCI 2014)
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
Introduction to Genetic Algorithms 2014
Introduction to Genetic Algorithms 2014Introduction to Genetic Algorithms 2014
Introduction to Genetic Algorithms 2014
 
Travelling Salesman Problem
Travelling Salesman ProblemTravelling Salesman Problem
Travelling Salesman Problem
 
GDC2019 - SEED - Towards Deep Generative Models in Game Development
GDC2019 - SEED - Towards Deep Generative Models in Game DevelopmentGDC2019 - SEED - Towards Deep Generative Models in Game Development
GDC2019 - SEED - Towards Deep Generative Models in Game Development
 
Combinational circuit designer using 2D Genetic Algorithm
Combinational circuit designer using 2D Genetic AlgorithmCombinational circuit designer using 2D Genetic Algorithm
Combinational circuit designer using 2D Genetic Algorithm
 

Genetic Algorithms

  • 1. By Deepali Kundnani Shruti Railkar
  • 2.  Survival of the Fittest  Natural selection Sir Charles Darwin
  • 3. Chromosomes from two different parents  Chromatids from each overlap at Chiasma  Recombinant chromosomes are form  Further passed on to the progeny Genetic Crossover
  • 4. A T T G C T C ORIGINAL A T A G C T C SUBSTITUTION A T T G A C T C ADDITION A T G C T C DELETION
  • 5. Offsprings have combinations of features inherited from each parent Image adapted from http://www.wpdipart.com
  • 6. Random changes are observed Image adapted from http://www.wpdipart.com
  • 7. Genetic Algorithm is a type of local search that mimics evolution by taking a population of strings which encode possible solutions and combines them based on a fitness function to produce individuals that are more fit.
  • 8. 1) Encoding the two numbers into binary strings Parent 1=3.273672 =>11.0100011000001 Parent 2=3.173294 =>11.0010110001011 2) Randomly choose a crossover point; let suppose be it at bit 6, and we split the gene at position six. Parent 1=>3.273672=>11.010---0011000001 Parent 2=>3.173294=>11.001---0110001011 3) Swapping the two tails ends of binary strings. Child 1=>11.010---0110001011 Child 2=>11.001---0011000001 4) Recombining the two binary strings to get two new offspring. Child 1=>11.0100110001011 Child 2=>11.0010011000001 5) Decoding the binary strings back into floating point numbers. Child 1=3.298218 Child 2=3.148560
  • 9.
  • 15.  Artificial Intelligence  Automotive Design  Computer Gaming  Predicting Protein Structure  Optimization Problems  Music  Business
  • 16. Helps to determine the accurate torsion angles and predict protein structure
  • 17. Evolution of Monalisa : Roger Alsig Weblog
  • 18. Minimizing total error over the set of data points Source:http://www.geneticprogramming.org
  • 19. Musical examples of variations output to get perfect music. Fitness function determinant here is human ear
  • 20. Optimization of aerodynamics of a Car for a smooth drive on a crooked path Source: Youtube
  • 21.
  • 22.
  • 23.
  • 24.
  • 25. ADVANTAGES LIMITATIONS  No training required  Do not work well when the population size is small and the rate of change is too high.  Efficient even during Multi-modal or n-dimensional search space  If the fitness function is chosen poorly or defined vaguely, the  Can work for non-linear Genetic Algorithm may be equations too unable to find a solution to the problem, or may end up  Efficient solving the wrong problem
  • 26.  GAOT- Genetic Algorithm Optimization Toolbox in Matlab  JGAP is a Genetic Algorithms and Genetic Programming component provided as a Java framework  Generator is another popular and powerful software running on Microsoft Excel
  • 27.  Genetic Algorithm is related to “solving problems of everyday interest” in many diverse fields.  However, several improvements can be made in order that Genetic Algorithm could be more generally applicable. Future work will continue through evolution and many more specific tasks
  • 28. Introduction to Genetic Algorithms -Axcelis http://www.axcelis.com:80/articles/itga/application.html  How Genetic Algorithm works http://www.mathworks.in/help/toolbox/gads/f6187.html  Introduction to Bioinformatics By Sundararajan & R. Balaji  Functioning of a Genetic Algorithm http://www.rennard.org/alife/english/gavintrgb.html#gafunct