SlideShare a Scribd company logo
1 of 13
Genetic Algorithm
Presented By
Manali Srivastava
Contents
 Introduction
 Where GAs can be used?
 Key Points
 General Algorithm of GA
 Recombination (crossover)
 Mutation
 Advantages of GA
 Limitations of GA
 Conclusion
Introduction
 Genetic algorithms are adaptive procedures derived
from Darwin’s principal of survival of the fittest in
natural genetics.
 GA maintains the population of potential solutions
of the candidate problem termed as individuals.
 By manipulation of these individuals through genetic
operators such as selection, crossover and mutation,
GA evolves towards better solutions over a no. of
generations.
Where GAs can be used?
OPTIMIZATION:
Where there are large solutions to the problem but we
have to find the best one.
 best moves in chess
 mathematical problems
 financial problems
Key Points
Chromosome: A set of genes. Chromosome contains
the solution in form of genes.
Gene: A part of chromosome. A gene contains a part of
solution. It determines the solution. E.g. 16743 is a
chromosome and 1, 6, 7, 4 and 3 are its genes.
Individual: Same as chromosome.
Population: No of individuals present with same
length of chromosome.
Fitness: Fitness is the value assigned to an individual.
It is based on how far or close a individual is from the
solution. Greater the fitness value better the solution it
contains.
Fitness function: Fitness function is a function which
assigns fitness value to the individual. It is problem
specific.
Selection: Selecting individuals for creating the next
generation.
Recombination (or crossover): Genes from parents
form in some way the whole new chromosome.
Mutation: Changing a random gene in an individual.
General Algorithm of GA
START
Generate initial population.
Assign fitness function to all individuals.
DO UNTIL best solution is found
Select individuals from current generation
Create new offspring with mutation
Compute new fitness for all individuals
Kill all unfit individuals to give space to new offspring
Check if best solution is found
LOOP END
Recombination (crossover)
Given two chromosomes
10001001110010010
01010001001000011
Choose a random bit along the length, say at position
9, and swap all the bits after that point so the above
become:
10001001101000011
01010001010010010
Mutation
 Mutation is random alteration of a string
 Change a gene, small movement in the
neighbourhood
 By itself, a random walk
Before: 10001001110010010
After: 10000001110110010
Advantages of GA
 Concepts are easy to understand
 Algorithms are intrinsically parallel.
 Always an answer; answer gets better with time
 Inherently parallel; easily distributed
 Less time required for some special applications
 Chances of getting optimal solution are more
Limitations of GA
 The population considered for the evolution should
be moderate or suitable one for the problem
(normally 20-30 or 50-100)
 Crossover rate should be 80%-95%
 Mutation rate should be low i.e. 0.5%-1% assumed
as best
 The method of selection should be appropriate
 Writing of fitness function must be accurate
Conclusion
 Genetic algorithms are rich in application across a
large and growing number of disciplines.
 Genetic Algorithms are used in Optimization and in
Classification in Data Mining
 Genetic algorithm has changed the way we do
computer programming.
Genetic Algorithm Guide: Key Concepts, Process & Applications in 40 Characters

More Related Content

What's hot

Genetic algorithm ppt
Genetic algorithm pptGenetic algorithm ppt
Genetic algorithm pptMayank Jain
 
Introduction to Genetic Algorithms
Introduction to Genetic AlgorithmsIntroduction to Genetic Algorithms
Introduction to Genetic AlgorithmsAhmed Othman
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic AlgorithmSHIMI S L
 
MACHINE LEARNING - GENETIC ALGORITHM
MACHINE LEARNING - GENETIC ALGORITHMMACHINE LEARNING - GENETIC ALGORITHM
MACHINE LEARNING - GENETIC ALGORITHMPuneet Kulyana
 
Genetic_Algorithm_AI(TU)
Genetic_Algorithm_AI(TU)Genetic_Algorithm_AI(TU)
Genetic_Algorithm_AI(TU)Kapil Khatiwada
 
Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}FellowBuddy.com
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithmgarima931
 
Genetic algorithm fitness function
Genetic algorithm fitness functionGenetic algorithm fitness function
Genetic algorithm fitness functionProf Ansari
 
GENETIC ALGORITHM
GENETIC ALGORITHMGENETIC ALGORITHM
GENETIC ALGORITHMHarsh Sinha
 
Genetic Algorithm in Artificial Intelligence
Genetic Algorithm in Artificial IntelligenceGenetic Algorithm in Artificial Intelligence
Genetic Algorithm in Artificial IntelligenceSinbad Konick
 
Genetic Algorithm by Example
Genetic Algorithm by ExampleGenetic Algorithm by Example
Genetic Algorithm by ExampleNobal Niraula
 
Genetic algorithm raktim
Genetic algorithm raktimGenetic algorithm raktim
Genetic algorithm raktimRaktim Halder
 

What's hot (20)

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
 
MACHINE LEARNING - GENETIC ALGORITHM
MACHINE LEARNING - GENETIC ALGORITHMMACHINE LEARNING - GENETIC ALGORITHM
MACHINE LEARNING - GENETIC ALGORITHM
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
 
Genetic_Algorithm_AI(TU)
Genetic_Algorithm_AI(TU)Genetic_Algorithm_AI(TU)
Genetic_Algorithm_AI(TU)
 
Introduction to Genetic Algorithms
Introduction to Genetic AlgorithmsIntroduction to Genetic Algorithms
Introduction to Genetic Algorithms
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
 
Genetic algorithm
Genetic algorithm Genetic algorithm
Genetic algorithm
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
 
Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
Genetic algorithm fitness function
Genetic algorithm fitness functionGenetic algorithm fitness function
Genetic algorithm fitness function
 
Ga
GaGa
Ga
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
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
 
Genetic Algorithm by Example
Genetic Algorithm by ExampleGenetic Algorithm by Example
Genetic Algorithm by Example
 
Genetic algorithm raktim
Genetic algorithm raktimGenetic algorithm raktim
Genetic algorithm raktim
 

Viewers also liked

GEC 2017: Malavika Kumaran
GEC 2017: Malavika KumaranGEC 2017: Malavika Kumaran
GEC 2017: Malavika KumaranMark Marich
 
Workshop 7 Teaching about Science and Inventions
Workshop 7 Teaching about Science and InventionsWorkshop 7 Teaching about Science and Inventions
Workshop 7 Teaching about Science and InventionsMaryna Tsehelska
 
Coit11237 assignment 2 specifications
Coit11237 assignment 2 specificationsCoit11237 assignment 2 specifications
Coit11237 assignment 2 specificationsNicole Valerio
 
Seams 2012: Reliability-Driven Dynamic Binding via Feedback Control
Seams 2012: Reliability-Driven Dynamic Binding via Feedback ControlSeams 2012: Reliability-Driven Dynamic Binding via Feedback Control
Seams 2012: Reliability-Driven Dynamic Binding via Feedback ControlAF85
 
Amiina Bakunowicz: Genetic Algorithm, Fitness vs Crossover vs Mutation
Amiina Bakunowicz: Genetic Algorithm, Fitness vs Crossover vs MutationAmiina Bakunowicz: Genetic Algorithm, Fitness vs Crossover vs Mutation
Amiina Bakunowicz: Genetic Algorithm, Fitness vs Crossover vs MutationArchiLab 7
 
Effects of clearance size on the dynamic response of planar multi body system...
Effects of clearance size on the dynamic response of planar multi body system...Effects of clearance size on the dynamic response of planar multi body system...
Effects of clearance size on the dynamic response of planar multi body system...Alexander Decker
 
Lecture 28 genetic algorithm
Lecture 28 genetic algorithmLecture 28 genetic algorithm
Lecture 28 genetic algorithmHema Kashyap
 
Quality Assurance and Cost Control for Construction
Quality Assurance and Cost Control for ConstructionQuality Assurance and Cost Control for Construction
Quality Assurance and Cost Control for ConstructionRich Purtell
 
An introduction to system dynamics & feedback loop
An introduction to system dynamics & feedback loopAn introduction to system dynamics & feedback loop
An introduction to system dynamics & feedback loopbhupendra kumar
 
A hybrid genetic algorithm and chaotic function model for image encryption
A hybrid genetic algorithm and chaotic function model for image encryptionA hybrid genetic algorithm and chaotic function model for image encryption
A hybrid genetic algorithm and chaotic function model for image encryptionsadique_ghitm
 
Survival of the Fittest: Using Genetic Algorithm for Data Mining Optimization
Survival of the Fittest: Using Genetic Algorithm for Data Mining OptimizationSurvival of the Fittest: Using Genetic Algorithm for Data Mining Optimization
Survival of the Fittest: Using Genetic Algorithm for Data Mining OptimizationOr Levi
 

Viewers also liked (14)

Accidentes trabajo escrito
Accidentes trabajo escritoAccidentes trabajo escrito
Accidentes trabajo escrito
 
GEC 2017: Malavika Kumaran
GEC 2017: Malavika KumaranGEC 2017: Malavika Kumaran
GEC 2017: Malavika Kumaran
 
Workshop 7 Teaching about Science and Inventions
Workshop 7 Teaching about Science and InventionsWorkshop 7 Teaching about Science and Inventions
Workshop 7 Teaching about Science and Inventions
 
Coit11237 assignment 2 specifications
Coit11237 assignment 2 specificationsCoit11237 assignment 2 specifications
Coit11237 assignment 2 specifications
 
прогулки
прогулкипрогулки
прогулки
 
Seams 2012: Reliability-Driven Dynamic Binding via Feedback Control
Seams 2012: Reliability-Driven Dynamic Binding via Feedback ControlSeams 2012: Reliability-Driven Dynamic Binding via Feedback Control
Seams 2012: Reliability-Driven Dynamic Binding via Feedback Control
 
Amiina Bakunowicz: Genetic Algorithm, Fitness vs Crossover vs Mutation
Amiina Bakunowicz: Genetic Algorithm, Fitness vs Crossover vs MutationAmiina Bakunowicz: Genetic Algorithm, Fitness vs Crossover vs Mutation
Amiina Bakunowicz: Genetic Algorithm, Fitness vs Crossover vs Mutation
 
Effects of clearance size on the dynamic response of planar multi body system...
Effects of clearance size on the dynamic response of planar multi body system...Effects of clearance size on the dynamic response of planar multi body system...
Effects of clearance size on the dynamic response of planar multi body system...
 
Lecture 28 genetic algorithm
Lecture 28 genetic algorithmLecture 28 genetic algorithm
Lecture 28 genetic algorithm
 
A system dynamics approach to transport modelling
A system dynamics approach to transport modellingA system dynamics approach to transport modelling
A system dynamics approach to transport modelling
 
Quality Assurance and Cost Control for Construction
Quality Assurance and Cost Control for ConstructionQuality Assurance and Cost Control for Construction
Quality Assurance and Cost Control for Construction
 
An introduction to system dynamics & feedback loop
An introduction to system dynamics & feedback loopAn introduction to system dynamics & feedback loop
An introduction to system dynamics & feedback loop
 
A hybrid genetic algorithm and chaotic function model for image encryption
A hybrid genetic algorithm and chaotic function model for image encryptionA hybrid genetic algorithm and chaotic function model for image encryption
A hybrid genetic algorithm and chaotic function model for image encryption
 
Survival of the Fittest: Using Genetic Algorithm for Data Mining Optimization
Survival of the Fittest: Using Genetic Algorithm for Data Mining OptimizationSurvival of the Fittest: Using Genetic Algorithm for Data Mining Optimization
Survival of the Fittest: Using Genetic Algorithm for Data Mining Optimization
 

Similar to Genetic Algorithm Guide: Key Concepts, Process & Applications in 40 Characters

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
 
Genetic-Algorithms forv artificial .ppt
Genetic-Algorithms forv artificial  .pptGenetic-Algorithms forv artificial  .ppt
Genetic-Algorithms forv artificial .pptneelamsanjeevkumar
 
Genetic-Algorithms for machine learning and ai.ppt
Genetic-Algorithms for machine learning and ai.pptGenetic-Algorithms for machine learning and ai.ppt
Genetic-Algorithms for machine learning and ai.pptneelamsanjeevkumar
 
Genetic-Algorithms.ppt
Genetic-Algorithms.pptGenetic-Algorithms.ppt
Genetic-Algorithms.pptssuser2e437f
 
Genetic-Algorithms-computersciencepptnew.ppt
Genetic-Algorithms-computersciencepptnew.pptGenetic-Algorithms-computersciencepptnew.ppt
Genetic-Algorithms-computersciencepptnew.pptFitnessfreaksfam
 
4.Genetic-Algorithms.ppt
4.Genetic-Algorithms.ppt4.Genetic-Algorithms.ppt
4.Genetic-Algorithms.pptRamjiChaurasiya
 
GENETIC ALGORITHM
GENETIC ALGORITHMGENETIC ALGORITHM
GENETIC ALGORITHMsowfi
 
Parallel evolutionary approach paper
Parallel evolutionary approach paperParallel evolutionary approach paper
Parallel evolutionary approach paperPriti Punia
 
introduction of genetic algorithm
introduction of genetic algorithmintroduction of genetic algorithm
introduction of genetic algorithmritambharaaatre
 
generic optimization techniques lecture slides
generic optimization techniques  lecture slidesgeneric optimization techniques  lecture slides
generic optimization techniques lecture slidesSardarHamidullah
 
F043046054
F043046054F043046054
F043046054inventy
 

Similar to Genetic Algorithm Guide: Key Concepts, Process & Applications in 40 Characters (20)

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
 
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
 
Genetic-Algorithms forv artificial .ppt
Genetic-Algorithms forv artificial  .pptGenetic-Algorithms forv artificial  .ppt
Genetic-Algorithms forv artificial .ppt
 
Genetic-Algorithms for machine learning and ai.ppt
Genetic-Algorithms for machine learning and ai.pptGenetic-Algorithms for machine learning and ai.ppt
Genetic-Algorithms for machine learning and ai.ppt
 
Genetic-Algorithms.ppt
Genetic-Algorithms.pptGenetic-Algorithms.ppt
Genetic-Algorithms.ppt
 
Genetic-Algorithms-computersciencepptnew.ppt
Genetic-Algorithms-computersciencepptnew.pptGenetic-Algorithms-computersciencepptnew.ppt
Genetic-Algorithms-computersciencepptnew.ppt
 
4.Genetic-Algorithms.ppt
4.Genetic-Algorithms.ppt4.Genetic-Algorithms.ppt
4.Genetic-Algorithms.ppt
 
Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithms
 
GENETIC ALGORITHM
GENETIC ALGORITHMGENETIC ALGORITHM
GENETIC ALGORITHM
 
Document1
Document1Document1
Document1
 
Parallel evolutionary approach paper
Parallel evolutionary approach paperParallel evolutionary approach paper
Parallel evolutionary approach paper
 
introduction of genetic algorithm
introduction of genetic algorithmintroduction of genetic algorithm
introduction of genetic algorithm
 
Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithms
 
Genetic
GeneticGenetic
Genetic
 
Soft computing06
Soft computing06Soft computing06
Soft computing06
 
GA.pptx
GA.pptxGA.pptx
GA.pptx
 
generic optimization techniques lecture slides
generic optimization techniques  lecture slidesgeneric optimization techniques  lecture slides
generic optimization techniques lecture slides
 
Genetic Algorithm
Genetic Algorithm Genetic Algorithm
Genetic Algorithm
 
F043046054
F043046054F043046054
F043046054
 

Recently uploaded

Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 

Recently uploaded (20)

Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 

Genetic Algorithm Guide: Key Concepts, Process & Applications in 40 Characters

  • 2. Contents  Introduction  Where GAs can be used?  Key Points  General Algorithm of GA  Recombination (crossover)  Mutation  Advantages of GA  Limitations of GA  Conclusion
  • 3. Introduction  Genetic algorithms are adaptive procedures derived from Darwin’s principal of survival of the fittest in natural genetics.  GA maintains the population of potential solutions of the candidate problem termed as individuals.  By manipulation of these individuals through genetic operators such as selection, crossover and mutation, GA evolves towards better solutions over a no. of generations.
  • 4. Where GAs can be used? OPTIMIZATION: Where there are large solutions to the problem but we have to find the best one.  best moves in chess  mathematical problems  financial problems
  • 5. Key Points Chromosome: A set of genes. Chromosome contains the solution in form of genes. Gene: A part of chromosome. A gene contains a part of solution. It determines the solution. E.g. 16743 is a chromosome and 1, 6, 7, 4 and 3 are its genes. Individual: Same as chromosome. Population: No of individuals present with same length of chromosome.
  • 6. Fitness: Fitness is the value assigned to an individual. It is based on how far or close a individual is from the solution. Greater the fitness value better the solution it contains. Fitness function: Fitness function is a function which assigns fitness value to the individual. It is problem specific. Selection: Selecting individuals for creating the next generation. Recombination (or crossover): Genes from parents form in some way the whole new chromosome. Mutation: Changing a random gene in an individual.
  • 7. General Algorithm of GA START Generate initial population. Assign fitness function to all individuals. DO UNTIL best solution is found Select individuals from current generation Create new offspring with mutation Compute new fitness for all individuals Kill all unfit individuals to give space to new offspring Check if best solution is found LOOP END
  • 8. Recombination (crossover) Given two chromosomes 10001001110010010 01010001001000011 Choose a random bit along the length, say at position 9, and swap all the bits after that point so the above become: 10001001101000011 01010001010010010
  • 9. Mutation  Mutation is random alteration of a string  Change a gene, small movement in the neighbourhood  By itself, a random walk Before: 10001001110010010 After: 10000001110110010
  • 10. Advantages of GA  Concepts are easy to understand  Algorithms are intrinsically parallel.  Always an answer; answer gets better with time  Inherently parallel; easily distributed  Less time required for some special applications  Chances of getting optimal solution are more
  • 11. Limitations of GA  The population considered for the evolution should be moderate or suitable one for the problem (normally 20-30 or 50-100)  Crossover rate should be 80%-95%  Mutation rate should be low i.e. 0.5%-1% assumed as best  The method of selection should be appropriate  Writing of fitness function must be accurate
  • 12. Conclusion  Genetic algorithms are rich in application across a large and growing number of disciplines.  Genetic Algorithms are used in Optimization and in Classification in Data Mining  Genetic algorithm has changed the way we do computer programming.