SlideShare a Scribd company logo
1 of 14
Download to read offline
J.F. Miller




Jagdeep Matharu - 4831400
Seminar 4V82
What is CGP?
 CGP is a form of Automatic computer program
  Evaluation (GP)
 Developed be Miller and Thompson 1997.
 Inspired from evaluation of digital circuit.
 Capable of encoding computer programs, electronic
  circuits, neural network.
Representation
 Programs are represented as directed acyclic graphs
  which are encoded in the form of a linear string of
  integer
 Genes are
   Address in data (Connection genes)
   Address in a function lookup table (Function genes)
   Address in output data (Output genes)
 Genotype is string of integers.
  Eg. 0 0 1 1 0 0 1 3 1 2 0 1 0 4 4 2 5 4 2 5 7 3
CGP Genotype
CGP General form
Cont’d
Genotype-to-Phenotype mapping
 Result from the decoding of a genotype is called
  phenotype.
 Many-to-one genotype to phenotype mapping.
 Some genes in phenotype can be ignored
Decoding
           Genotype




            Phenotype
Evolution of CGP Genotypes
 Most CGP system use only mutation.
 Point-mutation
    Mutation rate
 Gene location is change with other valid random value.
    Function with other random valid address of function.
    Input gene value with valid output from any other node
     or terminal node value.
    Output with address of output of other node in
     genotype or terminal node value.
 Crossover
Cont’d
Evaluation strategies
 1+𝜆 algorithm
Cont’d
 An offspring is always chosen if it is equal as fit or has
  better fitness than the parent.
Genetic Redundancy
 Node redundancy
    Genes those are not used in fitness calculation.
 Functional redundancy
    Sub-function that actually may be implemented with fewer
     nodes
    bloat
 Input redundancy
    Node functions are not connected to some of the input node
 Neutrality
    Adaptive evolution may cross regions with poor fitness in
     fitness landscape.
References
“CGP Home.” Accessed November 27, 2012.
http://www.cartesiangp.co.uk/
J.F. Miller(ed.), Cartesian Genetic Programming ,
Natural Computing Series, DOI 10.1007/978-3-642-17310-
3 2,

More Related Content

What's hot (7)

Stuart Mitchell - Pulp Optimisation
Stuart Mitchell - Pulp OptimisationStuart Mitchell - Pulp Optimisation
Stuart Mitchell - Pulp Optimisation
 
concurrency gpars
concurrency gparsconcurrency gpars
concurrency gpars
 
Tutorial: Python, PuLP and GLPK
Tutorial: Python, PuLP and GLPKTutorial: Python, PuLP and GLPK
Tutorial: Python, PuLP and GLPK
 
Evolutionary Nursery
Evolutionary NurseryEvolutionary Nursery
Evolutionary Nursery
 
Devnology Workshop Genpro 2 feb 2011
Devnology Workshop Genpro 2 feb 2011Devnology Workshop Genpro 2 feb 2011
Devnology Workshop Genpro 2 feb 2011
 
JavaYDL5
JavaYDL5JavaYDL5
JavaYDL5
 
20171127 當julia遇上資料科學
20171127 當julia遇上資料科學20171127 當julia遇上資料科學
20171127 當julia遇上資料科學
 

Viewers also liked

Serine Integrases in Genetic Circuit Design
Serine Integrases in Genetic Circuit DesignSerine Integrases in Genetic Circuit Design
Serine Integrases in Genetic Circuit Design
Dylan MacPhail
 
Prediction the stock market with genetic programming
Prediction the stock market with genetic programmingPrediction the stock market with genetic programming
Prediction the stock market with genetic programming
David Moskowitz, Ph.D.
 
Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithms
zamakhan
 
Mobile Ad hoc Networks
Mobile Ad hoc NetworksMobile Ad hoc Networks
Mobile Ad hoc Networks
Jagdeep Singh
 

Viewers also liked (20)

Genetic Algorithm by Example
Genetic Algorithm by ExampleGenetic Algorithm by Example
Genetic Algorithm by Example
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
A Novel Approach to Genetic Algorithm Based Cryptography
A Novel Approach to Genetic Algorithm Based Cryptography A Novel Approach to Genetic Algorithm Based Cryptography
A Novel Approach to Genetic Algorithm Based Cryptography
 
A Genetic Algorithm Approach to Solve Unit Commitment Problem
A Genetic Algorithm Approach to Solve Unit Commitment ProblemA Genetic Algorithm Approach to Solve Unit Commitment Problem
A Genetic Algorithm Approach to Solve Unit Commitment Problem
 
Cpaior13.ppt
Cpaior13.pptCpaior13.ppt
Cpaior13.ppt
 
Serine Integrases in Genetic Circuit Design
Serine Integrases in Genetic Circuit DesignSerine Integrases in Genetic Circuit Design
Serine Integrases in Genetic Circuit Design
 
Realtime, Non-Intrusive Evaluation of VoIP Using Genetic Programming
Realtime, Non-Intrusive Evaluation of VoIP Using Genetic ProgrammingRealtime, Non-Intrusive Evaluation of VoIP Using Genetic Programming
Realtime, Non-Intrusive Evaluation of VoIP Using Genetic Programming
 
Prediction the stock market with genetic programming
Prediction the stock market with genetic programmingPrediction the stock market with genetic programming
Prediction the stock market with genetic programming
 
Semantic Genetic Programming Tutorial
Semantic Genetic Programming TutorialSemantic Genetic Programming Tutorial
Semantic Genetic Programming Tutorial
 
An intelligent scalable stock market prediction system
An intelligent scalable stock market prediction systemAn intelligent scalable stock market prediction system
An intelligent scalable stock market prediction system
 
Introduction to genetic programming
Introduction to genetic programmingIntroduction to genetic programming
Introduction to genetic programming
 
Genetic programming
Genetic programmingGenetic programming
Genetic programming
 
كتابة الخطوات الخوارزمية
كتابة الخطوات الخوارزميةكتابة الخطوات الخوارزمية
كتابة الخطوات الخوارزمية
 
できる!遺伝的アルゴリズム
できる!遺伝的アルゴリズムできる!遺伝的アルゴリズム
できる!遺伝的アルゴリズム
 
遺伝的アルゴリズム (Genetic Algorithm)を始めよう!
遺伝的アルゴリズム(Genetic Algorithm)を始めよう!遺伝的アルゴリズム(Genetic Algorithm)を始めよう!
遺伝的アルゴリズム (Genetic Algorithm)を始めよう!
 
Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithms
 
Matlab Introduction
Matlab IntroductionMatlab Introduction
Matlab Introduction
 
Ad-Hoc Networks
Ad-Hoc NetworksAd-Hoc Networks
Ad-Hoc Networks
 
Mobile Ad hoc Networks
Mobile Ad hoc NetworksMobile Ad hoc Networks
Mobile Ad hoc Networks
 
The Top Skills That Can Get You Hired in 2017
The Top Skills That Can Get You Hired in 2017The Top Skills That Can Get You Hired in 2017
The Top Skills That Can Get You Hired in 2017
 

Similar to Cartesian Genetic Programming

AI at GSK_Kim Branson_mHealth Israel
AI at GSK_Kim Branson_mHealth IsraelAI at GSK_Kim Branson_mHealth Israel
AI at GSK_Kim Branson_mHealth Israel
Levi Shapiro
 
CLASSIFIER SELECTION MODELS FOR INTRUSION DETECTION SYSTEM (IDS)
CLASSIFIER SELECTION MODELS FOR INTRUSION DETECTION SYSTEM (IDS)CLASSIFIER SELECTION MODELS FOR INTRUSION DETECTION SYSTEM (IDS)
CLASSIFIER SELECTION MODELS FOR INTRUSION DETECTION SYSTEM (IDS)
ieijjournal1
 

Similar to Cartesian Genetic Programming (20)

P0126557 slides
P0126557 slidesP0126557 slides
P0126557 slides
 
Evolutionary Computing Technology - Genetic Algorithm
Evolutionary Computing Technology - Genetic AlgorithmEvolutionary Computing Technology - Genetic Algorithm
Evolutionary Computing Technology - Genetic Algorithm
 
2015-03-31_MotifGP
2015-03-31_MotifGP2015-03-31_MotifGP
2015-03-31_MotifGP
 
genetic programming
genetic programminggenetic programming
genetic programming
 
May workshop
May workshopMay workshop
May workshop
 
GENETIC GAIN BY GENOMIC SELECTION PPT.pptx
GENETIC GAIN BY GENOMIC SELECTION PPT.pptxGENETIC GAIN BY GENOMIC SELECTION PPT.pptx
GENETIC GAIN BY GENOMIC SELECTION PPT.pptx
 
Hc3413121317
Hc3413121317Hc3413121317
Hc3413121317
 
May 15 workshop
May 15  workshopMay 15  workshop
May 15 workshop
 
AI at GSK_Kim Branson_mHealth Israel
AI at GSK_Kim Branson_mHealth IsraelAI at GSK_Kim Branson_mHealth Israel
AI at GSK_Kim Branson_mHealth Israel
 
Log Message Anomaly Detection with Oversampling
Log Message Anomaly Detection with Oversampling Log Message Anomaly Detection with Oversampling
Log Message Anomaly Detection with Oversampling
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
 
PPSN 2004 - 3rd session
PPSN 2004 - 3rd sessionPPSN 2004 - 3rd session
PPSN 2004 - 3rd session
 
RNA-seq for DE analysis: detecting differential expression - part 5
RNA-seq for DE analysis: detecting differential expression - part 5RNA-seq for DE analysis: detecting differential expression - part 5
RNA-seq for DE analysis: detecting differential expression - part 5
 
Mobile Phone Spam Image Detection based on Graph Partitioning with Pyramid H...
Mobile Phone Spam Image Detection based on Graph Partitioning with Pyramid H...Mobile Phone Spam Image Detection based on Graph Partitioning with Pyramid H...
Mobile Phone Spam Image Detection based on Graph Partitioning with Pyramid H...
 
Selection system: Biplots and Mapping genotyoe
Selection system: Biplots and Mapping genotyoeSelection system: Biplots and Mapping genotyoe
Selection system: Biplots and Mapping genotyoe
 
Hybrid Approach to Economic Load Dispatch
Hybrid Approach to Economic Load DispatchHybrid Approach to Economic Load Dispatch
Hybrid Approach to Economic Load Dispatch
 
CLASSIFIER SELECTION MODELS FOR INTRUSION DETECTION SYSTEM (IDS)
CLASSIFIER SELECTION MODELS FOR INTRUSION DETECTION SYSTEM (IDS)CLASSIFIER SELECTION MODELS FOR INTRUSION DETECTION SYSTEM (IDS)
CLASSIFIER SELECTION MODELS FOR INTRUSION DETECTION SYSTEM (IDS)
 
VSSML17 Review. Summary Day 1 Sessions
VSSML17 Review. Summary Day 1 SessionsVSSML17 Review. Summary Day 1 Sessions
VSSML17 Review. Summary Day 1 Sessions
 
2. NEURAL NETWORKS USING GENETIC ALGORITHMS.pptx
2. NEURAL NETWORKS USING GENETIC ALGORITHMS.pptx2. NEURAL NETWORKS USING GENETIC ALGORITHMS.pptx
2. NEURAL NETWORKS USING GENETIC ALGORITHMS.pptx
 
[IJCAI 2023] SemiGNN-PPI: Self-Ensembling Multi-Graph Neural Network for Effi...
[IJCAI 2023] SemiGNN-PPI: Self-Ensembling Multi-Graph Neural Network for Effi...[IJCAI 2023] SemiGNN-PPI: Self-Ensembling Multi-Graph Neural Network for Effi...
[IJCAI 2023] SemiGNN-PPI: Self-Ensembling Multi-Graph Neural Network for Effi...
 

Recently uploaded

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Recently uploaded (20)

TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 

Cartesian Genetic Programming

  • 1. J.F. Miller Jagdeep Matharu - 4831400 Seminar 4V82
  • 2. What is CGP?  CGP is a form of Automatic computer program Evaluation (GP)  Developed be Miller and Thompson 1997.  Inspired from evaluation of digital circuit.  Capable of encoding computer programs, electronic circuits, neural network.
  • 3. Representation  Programs are represented as directed acyclic graphs which are encoded in the form of a linear string of integer  Genes are  Address in data (Connection genes)  Address in a function lookup table (Function genes)  Address in output data (Output genes)  Genotype is string of integers. Eg. 0 0 1 1 0 0 1 3 1 2 0 1 0 4 4 2 5 4 2 5 7 3
  • 7. Genotype-to-Phenotype mapping  Result from the decoding of a genotype is called phenotype.  Many-to-one genotype to phenotype mapping.  Some genes in phenotype can be ignored
  • 8. Decoding Genotype Phenotype
  • 9. Evolution of CGP Genotypes  Most CGP system use only mutation.  Point-mutation  Mutation rate  Gene location is change with other valid random value.  Function with other random valid address of function.  Input gene value with valid output from any other node or terminal node value.  Output with address of output of other node in genotype or terminal node value.  Crossover
  • 12. Cont’d  An offspring is always chosen if it is equal as fit or has better fitness than the parent.
  • 13. Genetic Redundancy  Node redundancy  Genes those are not used in fitness calculation.  Functional redundancy  Sub-function that actually may be implemented with fewer nodes  bloat  Input redundancy  Node functions are not connected to some of the input node  Neutrality  Adaptive evolution may cross regions with poor fitness in fitness landscape.
  • 14. References “CGP Home.” Accessed November 27, 2012. http://www.cartesiangp.co.uk/ J.F. Miller(ed.), Cartesian Genetic Programming , Natural Computing Series, DOI 10.1007/978-3-642-17310- 3 2,