SlideShare a Scribd company logo
GENETIC ALGORITHM
Submitted by,
M. Dharani., B.Sc.,
Nadar Saraswathi college of Arts &
Science,
Theni.
INTRODUCTION
Genetic algorithm is a search based
optimization technique based on the
principles of genetics and natural
selection.
It is frequently used to find optimal
or near optimal solutions to difficult
problems which otherwise would
take a lifetime to solve.
INTRODUCTION TO
OPTIMIZATION
Optimization is the process of
making something better.
process
Set of
inputs
Set of
outputs
BASIC TERMINOLOGY
 POPULATION: It is a subset of all the
possible(encoded) solutions to the given
problem.
 CHROMOSOMES: A chromosome is one
such solution to the given problem.
 Gene: A gene is one element position of a
chromosome.
 ALLELE: It is the value a gene takes for
a particular chromosome.
PHENOTYPE:
Phenotype is the population in
the actual real world solution space
in which solutions are represented
in a way they are represented in
real world situations.
ENCODING AND DECODING:
For simple the phenotype and
genotype space are the same.
GENETIC OPERATION:
These alter the genetic
compositions of the offspring's.
These include crossover, mutation,
selection, etc.
FITNESS FUNCTION:
A fitness function is a
function which takes the solution as
inputs and produces the suitability
of the solution as the output.
BASIC STRUCTURE OF
GENETIC ALGORITHM
Population
initialization
Fitness
function
calculation
Cross over
Mutation
Survivor
selection
Terminates and
return best
Loop until
termination
critic
reached
GENOTYPE
REPRESENTATION
BINARY REPESENTATION
REAL VALUED REPRESENTATION
0 0 1 0 1 1 1 0 0 1
0.5 0.2 0.6 0.8 0.7 0.4 0.3 0.2 0.1 0.9
GA POPULATION
Population is a subset of solutions
in the current generation.
Set of Chromosomes.
POPULATION INITIALIZATION :
A. Random Initialization
B. Heuristic Initialization
POPUATION MODEL:
A. Steady state
B. Generational
FITNESS FUNCTION
Takes a candidate solution
to the problem as input and
produces as output.
The objectives is to either
maximize or minimize the
given objective function.
GA—PARENT SELECTION
CHROMOSOME FITNESS VALUE
A 8.2
B 3.2
C 1.4
D 1.2
E 4.2
F 0.3
GA--MUTATION
 Used to maintain and introduce diversity
in the genetic population.
 Mutation Operations:
 Bit Flip Mutation
0 0 1 1 0 1 0 0 1 0
GA—TERMINATION
CONDITION
When there has been no
improvement in the population for X
iterations.
When we reach an absolute number
of generations.
When the objective function value
has reached a certain pre-defined
value.
THANK YOU!!!

More Related Content

PPT
Covering (Rules-based) Algorithm
PPTX
Gradient descent method
PPTX
Genetic Algorithm by Example
PPTX
Dynamic programming
PPTX
Feature Selection in Machine Learning
PPT
Bayseian decision theory
PPTX
AI-State Space Representation.pptx
PDF
Lecture9 - Bayesian-Decision-Theory
Covering (Rules-based) Algorithm
Gradient descent method
Genetic Algorithm by Example
Dynamic programming
Feature Selection in Machine Learning
Bayseian decision theory
AI-State Space Representation.pptx
Lecture9 - Bayesian-Decision-Theory

What's hot (20)

PPTX
Feature selection concepts and methods
PPTX
Genetic Algorithms
PDF
Data mining knowledge representation Notes
PPTX
Genetic Algorithm
PPT
Introduction to Genetic Algorithms
PPTX
Genetic Algorithm
PPTX
Tsp branch and-bound
PPTX
Flowchart of GA
PPTX
Batch normalization presentation
PPTX
Feed forward ,back propagation,gradient descent
PPTX
Dbscan algorithom
PPT
Support Vector Machines
PPTX
Genetic algorithms in Data Mining
PPTX
K-Nearest Neighbor(KNN)
PDF
Optimization in deep learning
PPT
PPT
Cluster analysis
PDF
Introduction to Random Forest
PPTX
Naïve Bayes Classifier Algorithm.pptx
Feature selection concepts and methods
Genetic Algorithms
Data mining knowledge representation Notes
Genetic Algorithm
Introduction to Genetic Algorithms
Genetic Algorithm
Tsp branch and-bound
Flowchart of GA
Batch normalization presentation
Feed forward ,back propagation,gradient descent
Dbscan algorithom
Support Vector Machines
Genetic algorithms in Data Mining
K-Nearest Neighbor(KNN)
Optimization in deep learning
Cluster analysis
Introduction to Random Forest
Naïve Bayes Classifier Algorithm.pptx
Ad

Similar to GENETIC ALGORITHM (20)

PPT
PPTX
Genetic algorithm
PDF
Parallel evolutionary approach paper
PPTX
Genetic algorithm
PPTX
OT-GhjjjjhhhnnngghbnnneneticAlgorithm.pptx
PPT
AI_PPT_Genetic-Algorithms.ppt
PPT
Genetic-Algorithms forv artificial .ppt
PPT
Genetic-Algorithms.ppt
PPT
Genetic-Algorithms.ppt
PPT
Genetic-Algorithms-computersciencepptnew.ppt
PPT
Genetic-Algorithms for machine learning and ai.ppt
PDF
Genetic Algorithms in Artificial Intelligence
PDF
RM 701 Genetic Algorithm and Fuzzy Logic lecture
ODP
Genetic algorithm ppt
PDF
generic optimization techniques lecture slides
PPT
4.Genetic-Algorithms.ppt
PDF
Structural Optimization using Genetic Algorithms - Artificial Intelligence Fu...
PPT
Soft computing06
PDF
Genetic algorithm
PPTX
Genetic algorithm
Parallel evolutionary approach paper
Genetic algorithm
OT-GhjjjjhhhnnngghbnnneneticAlgorithm.pptx
AI_PPT_Genetic-Algorithms.ppt
Genetic-Algorithms forv artificial .ppt
Genetic-Algorithms.ppt
Genetic-Algorithms.ppt
Genetic-Algorithms-computersciencepptnew.ppt
Genetic-Algorithms for machine learning and ai.ppt
Genetic Algorithms in Artificial Intelligence
RM 701 Genetic Algorithm and Fuzzy Logic lecture
Genetic algorithm ppt
generic optimization techniques lecture slides
4.Genetic-Algorithms.ppt
Structural Optimization using Genetic Algorithms - Artificial Intelligence Fu...
Soft computing06
Genetic algorithm
Ad

More from sowfi (20)

PPT
Lavanya m.sc
PPT
Lavanya m.sc
PPT
Soundarya m.sc
PPTX
Software engineering 2
PPTX
Compiler design
PPTX
Big data analytics
PPTX
Web programming
PPTX
OS
PPTX
OS
PPTX
RDBMS
PPTX
DM
PPTX
CN
PPTX
CN
PPTX
Dm
PPTX
RDBMS
PPTX
connected compounds
PPTX
JDBE
PPTX
AUTO & HETRO CORRELATOR
PPTX
single source shorest path
PPTX
servlet in java
Lavanya m.sc
Lavanya m.sc
Soundarya m.sc
Software engineering 2
Compiler design
Big data analytics
Web programming
OS
OS
RDBMS
DM
CN
CN
Dm
RDBMS
connected compounds
JDBE
AUTO & HETRO CORRELATOR
single source shorest path
servlet in java

Recently uploaded (20)

PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPTX
Pharma ospi slides which help in ospi learning
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Complications of Minimal Access Surgery at WLH
PDF
Computing-Curriculum for Schools in Ghana
PDF
RMMM.pdf make it easy to upload and study
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
Trump Administration's workforce development strategy
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PPTX
Cell Types and Its function , kingdom of life
PDF
Classroom Observation Tools for Teachers
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Final Presentation General Medicine 03-08-2024.pptx
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
Pharma ospi slides which help in ospi learning
Abdominal Access Techniques with Prof. Dr. R K Mishra
Complications of Minimal Access Surgery at WLH
Computing-Curriculum for Schools in Ghana
RMMM.pdf make it easy to upload and study
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
Trump Administration's workforce development strategy
Chinmaya Tiranga quiz Grand Finale.pdf
Cell Types and Its function , kingdom of life
Classroom Observation Tools for Teachers
Weekly quiz Compilation Jan -July 25.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
O7-L3 Supply Chain Operations - ICLT Program
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Microbial disease of the cardiovascular and lymphatic systems
A systematic review of self-coping strategies used by university students to ...
FourierSeries-QuestionsWithAnswers(Part-A).pdf

GENETIC ALGORITHM

  • 1. GENETIC ALGORITHM Submitted by, M. Dharani., B.Sc., Nadar Saraswathi college of Arts & Science, Theni.
  • 2. INTRODUCTION Genetic algorithm is a search based optimization technique based on the principles of genetics and natural selection. It is frequently used to find optimal or near optimal solutions to difficult problems which otherwise would take a lifetime to solve.
  • 3. INTRODUCTION TO OPTIMIZATION Optimization is the process of making something better. process Set of inputs Set of outputs
  • 4. BASIC TERMINOLOGY  POPULATION: It is a subset of all the possible(encoded) solutions to the given problem.  CHROMOSOMES: A chromosome is one such solution to the given problem.  Gene: A gene is one element position of a chromosome.  ALLELE: It is the value a gene takes for a particular chromosome.
  • 5. PHENOTYPE: Phenotype is the population in the actual real world solution space in which solutions are represented in a way they are represented in real world situations. ENCODING AND DECODING: For simple the phenotype and genotype space are the same.
  • 6. GENETIC OPERATION: These alter the genetic compositions of the offspring's. These include crossover, mutation, selection, etc. FITNESS FUNCTION: A fitness function is a function which takes the solution as inputs and produces the suitability of the solution as the output.
  • 7. BASIC STRUCTURE OF GENETIC ALGORITHM Population initialization Fitness function calculation Cross over Mutation Survivor selection Terminates and return best Loop until termination critic reached
  • 8. GENOTYPE REPRESENTATION BINARY REPESENTATION REAL VALUED REPRESENTATION 0 0 1 0 1 1 1 0 0 1 0.5 0.2 0.6 0.8 0.7 0.4 0.3 0.2 0.1 0.9
  • 9. GA POPULATION Population is a subset of solutions in the current generation. Set of Chromosomes. POPULATION INITIALIZATION : A. Random Initialization B. Heuristic Initialization POPUATION MODEL: A. Steady state B. Generational
  • 10. FITNESS FUNCTION Takes a candidate solution to the problem as input and produces as output. The objectives is to either maximize or minimize the given objective function.
  • 11. GA—PARENT SELECTION CHROMOSOME FITNESS VALUE A 8.2 B 3.2 C 1.4 D 1.2 E 4.2 F 0.3
  • 12. GA--MUTATION  Used to maintain and introduce diversity in the genetic population.  Mutation Operations:  Bit Flip Mutation 0 0 1 1 0 1 0 0 1 0
  • 13. GA—TERMINATION CONDITION When there has been no improvement in the population for X iterations. When we reach an absolute number of generations. When the objective function value has reached a certain pre-defined value.