Introduction to Genetic Algorithm (GA)

Slides:



Advertisements
Similar presentations
Using Parallel Genetic Algorithm in a Predictive Job Scheduling
Advertisements

Biologically Inspired AI (mostly GAs). Some Examples of Biologically Inspired Computation Neural networks Evolutionary computation (e.g., genetic algorithms)
Genetic Algorithms1 COMP305. Part II. Genetic Algorithms.
Introduction to Genetic Algorithms Yonatan Shichel.
Genetic Algorithms GAs are one of the most powerful and applicable search methods available GA originally developed by John Holland (1975) Inspired by.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2002.
Genetic Algorithms Nehaya Tayseer 1.Introduction What is a Genetic algorithm? A search technique used in computer science to find approximate solutions.
CS 447 Advanced Topics in Artificial Intelligence Fall 2002.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2004.
Chapter 6: Transform and Conquer Genetic Algorithms The Design and Analysis of Algorithms.
Genetic Algorithm.
Evolutionary Intelligence
SOFT COMPUTING (Optimization Techniques using GA) Dr. N.Uma Maheswari Professor/CSE PSNA CET.
Genetic algorithms Prof Kang Li
Genetic algorithms Charles Darwin "A man who dares to waste an hour of life has not discovered the value of life"
Introduction to GAs: Genetic Algorithms How to apply GAs to SNA? Thank you for all pictures and information referred.
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Genetic Algorithms Siddhartha K. Shakya School of Computing. The Robert Gordon University Aberdeen, UK
GENETIC ALGORITHM A biologically inspired model of intelligence and the principles of biological evolution are applied to find solutions to difficult problems.
Derivative Free Optimization G.Anuradha. Contents Genetic Algorithm Simulated Annealing Random search method Downhill simplex method.
G ENETIC A LGORITHMS Ranga Rodrigo March 5,
 Negnevitsky, Pearson Education, Lecture 9 Evolutionary Computation: Genetic algorithms n Introduction, or can evolution be intelligent? n Simulation.
Genetic Algorithms What is a GA Terms and definitions Basic algorithm.
Genetic Algorithms. 2 Overview Introduction To Genetic Algorithms (GAs) GA Operators and Parameters Genetic Algorithms To Solve The Traveling Salesman.
Chapter 12 FUSION OF FUZZY SYSTEM AND GENETIC ALGORITHMS Chi-Yuan Yeh.
EE749 I ntroduction to Artificial I ntelligence Genetic Algorithms The Simple GA.
Waqas Haider Bangyal 1. Evolutionary computing algorithms are very common and used by many researchers in their research to solve the optimization problems.
D Nagesh Kumar, IIScOptimization Methods: M8L5 1 Advanced Topics in Optimization Evolutionary Algorithms for Optimization and Search.
Introduction to GAs: Genetic Algorithms Quantitative Analysis: How to make a decision? Thank you for all pictures and information referred.
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Genetic Algorithms. Underlying Concept  Charles Darwin outlined the principle of natural selection.  Natural Selection is the process by which evolution.
Genetic Algorithm Dr. Md. Al-amin Bhuiyan Professor, Dept. of CSE Jahangirnagar University.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
1 Comparative Study of two Genetic Algorithms Based Task Allocation Models in Distributed Computing System Oğuzhan TAŞ 2005.
Genetic Algorithms. Solution Search in Problem Space.
Genetic Algorithm(GA)
Genetic Algorithm. Outline Motivation Genetic algorithms An illustrative example Hypothesis space search.
 Presented By: Abdul Aziz Ghazi  Roll No:  Presented to: Sir Harris.
Introduction to genetic algorithm
Introduction to Genetic Algorithms
Genetic Algorithm (GA)
Genetic Algorithms.
Dr. Kenneth Stanley September 11, 2006
Evolutionary Algorithms Jim Whitehead
USING MICROBIAL GENETIC ALGORITHM TO SOLVE CARD SPLITTING PROBLEM.
Artificial Intelligence Methods (AIM)
Genetic Algorithms GAs are one of the most powerful and applicable search methods available GA originally developed by John Holland (1975) Inspired by.
C.-S. Shieh, EC, KUAS, Taiwan
CSC 380: Design and Analysis of Algorithms
Intelligent Systems and Soft Computing
Genetic Algorithms GAs are one of the most powerful and applicable search methods available GA originally developed by John Holland (1975) Inspired by.
Genetic Algorithms, Search Algorithms
CS621: Artificial Intelligence
Modified Crossover Operator Approach for Evolutionary Optimization
Basics of Genetic Algorithms (MidTerm – only in RED material)
GENETIC ALGORITHM A biologically inspired model of intelligence and the principles of biological evolution are applied to find solutions to difficult.
EVOLUTION Adapting to change!.
GENETIC ALGORITHMS & MACHINE LEARNING
Dr. Unnikrishnan P.C. Professor, EEE
Basics of Genetic Algorithms
EE368 Soft Computing Genetic Algorithms.
Searching for solutions: Genetic Algorithms
A Gentle introduction Richard P. Simpson
Machine Learning: UNIT-4 CHAPTER-2
Traveling Salesman Problem by Genetic Algorithm
Genetic Algorithm Soft Computing: use of inexact t solution to compute hard task problems. Soft computing tolerant of imprecision, uncertainty, partial.
Population Based Metaheuristics
CSC 380: Design and Analysis of Algorithms
Population Methods.
Presentation transcript:

Introduction to Genetic Algorithm (GA) Presented By: Rabiya Khalid Department of Computer Science

GA (1/31) Introduction History Based on Darwin’s theory of evolution Rapidly growing area of artificial intelligence Used to solve optimization based problems Techniques inspired by evolutionary biology Inheritance Mutation Selection Crossover History Evolutionary computing evolved in the 1960’s by I.Rechenberg GA’s were invented by John Holland in the mid-70’s. Genetic algorithms are a part of evolutionary computing, which is a rapidly growing area of artificial intelligence.

GA (2/31)

GA (3/31) Lets learn biology first Our body is made up of trillions of cells Each cell has a core structure (nucleus) that contains chromosomes Each chromosome is made up of tightly coiled strands of deoxyribonucleic acid (DNA) Genes are segments of DNA that determine specific traits, such as Eye color Hair color A gene mutation is an alteration in DNA It can be inherited or acquired during your lifetime Some changes in genes result in genetic disorders.

GA (4/31) Natural selection GA is inspired from nature Only the organisms best adapted to their environment tend to survive Transmit their genetic characteristics in increasing numbers to succeeding generations Those less adapted tend to be eliminated GA is inspired from nature A genetic algorithm maintains Population of candidate solutions for the problem Makes it evolve by iteratively applying a set of stochastic operators

GA (5/31)

GA (6/31) Key terms Individual Population Search Space Chromosome Any possible solution Population Group of all individuals Search Space All possible solutions to the problem Chromosome Blueprint for an individual Trait Possible aspect (features) of an individual Allele Possible settings of trait (black, blond, etc.) Locus The position of a gene on the chromosome Genome Collection of all chromosomes for an individual

GA (7/31) Key terms General use Role in Smart grid Individual Any possible solution On-off status of appliances in a time slot Population Group of all individuals Collection of all chromosomes Search Space All possible solutions to the problem Any values in constraint defined limits Chromosome Blueprint for an individual Duplicate values of objective function Allele Possible settings of trait (black, blond, etc.) Characteristics of defined system to satisfy optimization limits Locus The position of a gene on the chromosome Single bit (0 or 1) Genome Collection of all chromosomes for an individual Binary on /off (1/ 0) states arrays for each appliance

GA (8/31) GA requirements Representation A genetic representation of the solution domain (set search space) A fitness function to evaluate the solution domain (objective function according to system model in case of smart grid) Representation 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 ...

GA (9/31) Algorithm Initialization Generate population Evaluate fitness While gen<max_gen do Select two parents Crossover Mutation Elitism End

GA (10/31) Fitness function The fitness function is always problem dependent Assigns fitness value to the individual It summarizes, how close a solution is to achieving the set aims

GA (11/31) Selection Darwinian survival of fittest More preference to get better guys Ways to select Roulette wheel Tournament Truncation By itself, pick best Probability of selection is assigned to individuals based on their fitness value Two parents are selected randomly from set of individuals with high selection probability Selected parents are used to produce off-springs

GA (12/31) Crossover Single point crossover Two point crossover Uniform crossover

GA (13/31) Mutation Types of mutation String subjected to mutation after crossover It prevents falling all solutions into local optimum It alters bits of chromosomes to make the string better Bit wise mutation is performed with probability of mutation Po A random number ro is generated and compared with Po If Po>ro , then mutation occurs Types of mutation Bit inversion Selected bits are inverted Order changing The number are selected and exchanged

GA (14/31) Elitism Search space Elitism involves copying a small proportion of the fittest candidates, unchanged, into the next generation EA does not waste time re-discovering previously discarded partial solutions Search space The set of solutions among which the desired solution resides Best solution among a number of possible solutions Represented by one point in the search space

GA (15/31) Advantages of GA Limitations Concepts are easy to understand Always an answer; answer gets better with time Less time required for some special applications Chances of getting optimal solution are more Limitations 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

GA (16/31)

GA (17/31)

GA (18/31)

GA (19/31)

GA (20/31)

GA (21/31)

GA (22/31)

GA (23/31)

GA (24/31)

GA (25/31)

GA (26/31)

GA (27/31)

GA (28/31)

GA (29/31)

GA (30/31)

GA (31/31)