SlideShare une entreprise Scribd logo
1  sur  21
Genetic Programming




             K.Krishna Chaitanya
                   08VV1A1210
What is Genetic Programming?

    Genetic programming is a model of programming which
uses the ideas (and some of the terminology) of biological
evolution to handle a complex problem. …

    Genetic programming can be viewed as an extension of the
genetic algorithm, a model for testing and selecting the best
choice among a set of results, each represented by a string.
Genetic Algorithm

Genetic Algorithm:
• It is a part of evolutionary computing.

• Adaptive heuristic search algorithm based on evolutionary ideas
  of natural selection and genetics.
Biological Back view

GA’s are inspired by Darwin's theory of evolution:

‘Survival of the Fittest’.

      In nature, evolution is mostly determined by natural
  selection or different individuals competing for resources in
  the environment. Those individuals that are better are more
  likely to survive and propagate their genetic material.
Development History
Evolutionary Computing

Evolutionary Algorithm(EA) is a subset of Evolutionary
Computing(EC) which is a subfield of Artificial Intelligence(AI).

Evolutionary Computing: Represents powerful search and
optimized paradigm.

Evolutionary Algorithm: Involve selection, recombination,
random variation, and competition.
Evolutionary Computing

          Selection
                         Parents


   Population                   Reproduction


           Replacement
                         Offspring
Genetic Algorithm

Genetic   Algorithm:    Represents    the   main    paradigm   of
Evolutionary Computing.

• GA’s simulate natural evolution, mimicking processes the
nature uses: selection, cross over, mutation and accepting.

• GAs simulate the survival of the fittest among individuals over
consecutive generation for solving a problem.
Genetic Algorithm Cycle

                   children
   reproduction                        modification
                                             modified
parents                                      children
    population                          evaluation
                  evaluated children
deleted
members

      discard
Genetic Operators

• Cross over: Exchange of Genetic material (substrings) denoting
  rules, structural components, features of a machine learning,
  search or optimization problem.

• Selection: The application of the fitness criterion to choose
  which individuals from a population will go on to reproduce.
Genetic Operators

• Replication: The propagation of individuals from one generation
  to next.

• Mutation: The modification of chromosomes for single
  individual.
Population

                                   population

Chromosomes could be:
  –   Bit strings                            (0101 ... 1100)
  –   Real numbers                 (43.2 -33.1 ... 0.0 89.2)
  –   Permutations of element       (E11 E3 E7 ... E1 E15)
  –   Lists of rules                (R1 R2 R3 ... R22 R23)
  –   Program elements              (genetic programming)
  –   ... any data structure ...
Reproduction

                                                 children
                      reproduction

          parents

                       population


Parents are selected at random with selection chances biased in relation to
chromosome evaluations.
Chromosome Modification

          children
                          modification
                                  modified children



• Modifications are stochastically triggered
• Operator types are:
  – Mutation
  – Crossover (recombination)
Mutation

   Before:        (1 0 1 1 0 1 1 0)
   After:         (0 1 1 0 0 1 1 0)

   Before:        (1.38 -69.4 326.44 0.1)
   After:         (1.38 -67.5 326.44 0.1)

• Causes movement in the search space
  (local or global)
• Restores lost information to the population
Cross Over
          *
P1   (0 1 1 0 1 0 0 0)     (0 1 0 0 1 0 0 0)   C1

P2   (1 1 0 1 1 0 1 0)     (1 1 1 1 1 0 1 0)   C2

Crossover is a critical feature of genetic
algorithms:
   – It greatly accelerates search early in evolution of a
     population
   – It leads to effective combination of schemata (sub solutions
     on different chromosomes)
Evaluation

                                  modified
             evaluated            children
             children
                           evaluation


• The evaluator decodes a chromosome and assigns it a fitness
  measure
• The evaluator is the only link between a classical GA and the
  problem it is solving
Deletion

                           population
           discarded members

                               discard

• Generational GA:
  entire populations replaced with each iteration
• Steady-state GA:
  a few members replaced each generation
Pseudo Code

BEGIN

INITIALISE POPULATION with random candidate solution

EVALUATE each candidate;

REPEAT UNTILL (candidate termination condition) is satisfied DO

  1.   SELECT parents;

  2.   RECOMBINE pairs of parents;

  3.   MUTATE the resulting offspring;

  4.   SELECT individual or the next generation;

END
Conclusion

   Genetic Algorithms provide a comprehensive search
methodology for machine learning and optimization. It been
shore to be efficient and powerful through many data mining
applications that use optimization and classification
Thank you

Contenu connexe

En vedette

The Southern Baptist Church Cooperative Program's History
The Southern Baptist Church Cooperative Program's HistoryThe Southern Baptist Church Cooperative Program's History
The Southern Baptist Church Cooperative Program's HistoryRonnie Floyd
 
Genetic programming
Genetic programmingGenetic programming
Genetic programmingYun-Yan Chi
 
Genetic Algorithms and Genetic Programming for Multiscale Modeling
Genetic Algorithms and Genetic Programming for Multiscale ModelingGenetic Algorithms and Genetic Programming for Multiscale Modeling
Genetic Algorithms and Genetic Programming for Multiscale Modelingkknsastry
 
Introduction to genetic programming
Introduction to genetic programmingIntroduction to genetic programming
Introduction to genetic programmingabhishek singh
 
Genetic programming
Genetic programmingGenetic programming
Genetic programmingMeghna Singh
 
Chapter09.ppt
Chapter09.pptChapter09.ppt
Chapter09.pptbutest
 
The Evolution of Everything (EvE) and Genetic Programming
The Evolution of Everything (EvE) and Genetic ProgrammingThe Evolution of Everything (EvE) and Genetic Programming
The Evolution of Everything (EvE) and Genetic Programmingbillwzel
 
Introduction to Genetic Programming
Introduction to Genetic ProgrammingIntroduction to Genetic Programming
Introduction to Genetic Programmingadil raja
 
Learning to assess Linked Data relationships using Genetic Programming
Learning to assess Linked Data relationships using Genetic ProgrammingLearning to assess Linked Data relationships using Genetic Programming
Learning to assess Linked Data relationships using Genetic ProgrammingVrije Universiteit Amsterdam
 

En vedette (9)

The Southern Baptist Church Cooperative Program's History
The Southern Baptist Church Cooperative Program's HistoryThe Southern Baptist Church Cooperative Program's History
The Southern Baptist Church Cooperative Program's History
 
Genetic programming
Genetic programmingGenetic programming
Genetic programming
 
Genetic Algorithms and Genetic Programming for Multiscale Modeling
Genetic Algorithms and Genetic Programming for Multiscale ModelingGenetic Algorithms and Genetic Programming for Multiscale Modeling
Genetic Algorithms and Genetic Programming for Multiscale Modeling
 
Introduction to genetic programming
Introduction to genetic programmingIntroduction to genetic programming
Introduction to genetic programming
 
Genetic programming
Genetic programmingGenetic programming
Genetic programming
 
Chapter09.ppt
Chapter09.pptChapter09.ppt
Chapter09.ppt
 
The Evolution of Everything (EvE) and Genetic Programming
The Evolution of Everything (EvE) and Genetic ProgrammingThe Evolution of Everything (EvE) and Genetic Programming
The Evolution of Everything (EvE) and Genetic Programming
 
Introduction to Genetic Programming
Introduction to Genetic ProgrammingIntroduction to Genetic Programming
Introduction to Genetic Programming
 
Learning to assess Linked Data relationships using Genetic Programming
Learning to assess Linked Data relationships using Genetic ProgrammingLearning to assess Linked Data relationships using Genetic Programming
Learning to assess Linked Data relationships using Genetic Programming
 

Similaire à genetic computing

introduction of genetic algorithm
introduction of genetic algorithmintroduction of genetic algorithm
introduction of genetic algorithmritambharaaatre
 
Introduction to genetic algorithms
Introduction to genetic algorithmsIntroduction to genetic algorithms
Introduction to genetic algorithmsshadanalam
 
AI.3-Evolutionary Computation [15-18].pdf
AI.3-Evolutionary Computation [15-18].pdfAI.3-Evolutionary Computation [15-18].pdf
AI.3-Evolutionary Computation [15-18].pdfThninh2
 
CSA 3702 machine learning module 4
CSA 3702 machine learning module 4CSA 3702 machine learning module 4
CSA 3702 machine learning module 4Nandhini S
 
Genetic algorithm raktim
Genetic algorithm raktimGenetic algorithm raktim
Genetic algorithm raktimRaktim Halder
 
Genetic algorithm_raktim_IITKGP
Genetic algorithm_raktim_IITKGP Genetic algorithm_raktim_IITKGP
Genetic algorithm_raktim_IITKGP Raktim Halder
 
GA of a Paper 2012.pptx
GA of a Paper 2012.pptxGA of a Paper 2012.pptx
GA of a Paper 2012.pptxwaqasjavaid26
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithmRespa Peter
 
Genetic Algorithms - GAs
Genetic Algorithms - GAsGenetic Algorithms - GAs
Genetic Algorithms - GAsMohamed Talaat
 
evolutionary algo's.ppt
evolutionary algo's.pptevolutionary algo's.ppt
evolutionary algo's.pptSherazAhmed103
 
Genetic-Algorithms.ppt
Genetic-Algorithms.pptGenetic-Algorithms.ppt
Genetic-Algorithms.pptNipun85
 
AI_PPT_Genetic-Algorithms.ppt
AI_PPT_Genetic-Algorithms.pptAI_PPT_Genetic-Algorithms.ppt
AI_PPT_Genetic-Algorithms.pptHotTea
 

Similaire à genetic computing (20)

introduction of genetic algorithm
introduction of genetic algorithmintroduction of genetic algorithm
introduction of genetic algorithm
 
Introduction to genetic algorithms
Introduction to genetic algorithmsIntroduction to genetic algorithms
Introduction to genetic algorithms
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
 
AI.3-Evolutionary Computation [15-18].pdf
AI.3-Evolutionary Computation [15-18].pdfAI.3-Evolutionary Computation [15-18].pdf
AI.3-Evolutionary Computation [15-18].pdf
 
CSA 3702 machine learning module 4
CSA 3702 machine learning module 4CSA 3702 machine learning module 4
CSA 3702 machine learning module 4
 
Genetic algorithm raktim
Genetic algorithm raktimGenetic algorithm raktim
Genetic algorithm raktim
 
Genetic algorithm_raktim_IITKGP
Genetic algorithm_raktim_IITKGP Genetic algorithm_raktim_IITKGP
Genetic algorithm_raktim_IITKGP
 
GA of a Paper 2012.pptx
GA of a Paper 2012.pptxGA of a Paper 2012.pptx
GA of a Paper 2012.pptx
 
CI_L02_Optimization_ag2_eng.pdf
CI_L02_Optimization_ag2_eng.pdfCI_L02_Optimization_ag2_eng.pdf
CI_L02_Optimization_ag2_eng.pdf
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
0101.genetic algorithm
0101.genetic algorithm0101.genetic algorithm
0101.genetic algorithm
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
RM 701 Genetic Algorithm and Fuzzy Logic lecture
RM 701 Genetic Algorithm and Fuzzy Logic lectureRM 701 Genetic Algorithm and Fuzzy Logic lecture
RM 701 Genetic Algorithm and Fuzzy Logic lecture
 
Ga
GaGa
Ga
 
Genetic Algorithms - GAs
Genetic Algorithms - GAsGenetic Algorithms - GAs
Genetic Algorithms - GAs
 
evolutionary algo's.ppt
evolutionary algo's.pptevolutionary algo's.ppt
evolutionary algo's.ppt
 
CI_L11_Optimization_ag2_eng.pptx
CI_L11_Optimization_ag2_eng.pptxCI_L11_Optimization_ag2_eng.pptx
CI_L11_Optimization_ag2_eng.pptx
 
GA.pptx
GA.pptxGA.pptx
GA.pptx
 
Genetic-Algorithms.ppt
Genetic-Algorithms.pptGenetic-Algorithms.ppt
Genetic-Algorithms.ppt
 
AI_PPT_Genetic-Algorithms.ppt
AI_PPT_Genetic-Algorithms.pptAI_PPT_Genetic-Algorithms.ppt
AI_PPT_Genetic-Algorithms.ppt
 

Dernier

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 

Dernier (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 

genetic computing

  • 1. Genetic Programming K.Krishna Chaitanya 08VV1A1210
  • 2. What is Genetic Programming? Genetic programming is a model of programming which uses the ideas (and some of the terminology) of biological evolution to handle a complex problem. … Genetic programming can be viewed as an extension of the genetic algorithm, a model for testing and selecting the best choice among a set of results, each represented by a string.
  • 3. Genetic Algorithm Genetic Algorithm: • It is a part of evolutionary computing. • Adaptive heuristic search algorithm based on evolutionary ideas of natural selection and genetics.
  • 4. Biological Back view GA’s are inspired by Darwin's theory of evolution: ‘Survival of the Fittest’. In nature, evolution is mostly determined by natural selection or different individuals competing for resources in the environment. Those individuals that are better are more likely to survive and propagate their genetic material.
  • 6. Evolutionary Computing Evolutionary Algorithm(EA) is a subset of Evolutionary Computing(EC) which is a subfield of Artificial Intelligence(AI). Evolutionary Computing: Represents powerful search and optimized paradigm. Evolutionary Algorithm: Involve selection, recombination, random variation, and competition.
  • 7. Evolutionary Computing Selection Parents Population Reproduction Replacement Offspring
  • 8. Genetic Algorithm Genetic Algorithm: Represents the main paradigm of Evolutionary Computing. • GA’s simulate natural evolution, mimicking processes the nature uses: selection, cross over, mutation and accepting. • GAs simulate the survival of the fittest among individuals over consecutive generation for solving a problem.
  • 9. Genetic Algorithm Cycle children reproduction modification modified parents children population evaluation evaluated children deleted members discard
  • 10. Genetic Operators • Cross over: Exchange of Genetic material (substrings) denoting rules, structural components, features of a machine learning, search or optimization problem. • Selection: The application of the fitness criterion to choose which individuals from a population will go on to reproduce.
  • 11. Genetic Operators • Replication: The propagation of individuals from one generation to next. • Mutation: The modification of chromosomes for single individual.
  • 12. Population population Chromosomes could be: – Bit strings (0101 ... 1100) – Real numbers (43.2 -33.1 ... 0.0 89.2) – Permutations of element (E11 E3 E7 ... E1 E15) – Lists of rules (R1 R2 R3 ... R22 R23) – Program elements (genetic programming) – ... any data structure ...
  • 13. Reproduction children reproduction parents population Parents are selected at random with selection chances biased in relation to chromosome evaluations.
  • 14. Chromosome Modification children modification modified children • Modifications are stochastically triggered • Operator types are: – Mutation – Crossover (recombination)
  • 15. Mutation Before: (1 0 1 1 0 1 1 0) After: (0 1 1 0 0 1 1 0) Before: (1.38 -69.4 326.44 0.1) After: (1.38 -67.5 326.44 0.1) • Causes movement in the search space (local or global) • Restores lost information to the population
  • 16. Cross Over * P1 (0 1 1 0 1 0 0 0) (0 1 0 0 1 0 0 0) C1 P2 (1 1 0 1 1 0 1 0) (1 1 1 1 1 0 1 0) C2 Crossover is a critical feature of genetic algorithms: – It greatly accelerates search early in evolution of a population – It leads to effective combination of schemata (sub solutions on different chromosomes)
  • 17. Evaluation modified evaluated children children evaluation • The evaluator decodes a chromosome and assigns it a fitness measure • The evaluator is the only link between a classical GA and the problem it is solving
  • 18. Deletion population discarded members discard • Generational GA: entire populations replaced with each iteration • Steady-state GA: a few members replaced each generation
  • 19. Pseudo Code BEGIN INITIALISE POPULATION with random candidate solution EVALUATE each candidate; REPEAT UNTILL (candidate termination condition) is satisfied DO 1. SELECT parents; 2. RECOMBINE pairs of parents; 3. MUTATE the resulting offspring; 4. SELECT individual or the next generation; END
  • 20. Conclusion Genetic Algorithms provide a comprehensive search methodology for machine learning and optimization. It been shore to be efficient and powerful through many data mining applications that use optimization and classification