Tutorial 2 (Lecture6) (Intro to) Evolutionary Computation School of Computer Science University of Birmingham.

Slides:



Advertisements
Similar presentations
How to Use Stowe School District
Advertisements

MWD1001 Website Production Using JavaScript with Forms.
Noise, Information Theory, and Entropy (cont.) CS414 – Spring 2007 By Karrie Karahalios, Roger Cheng, Brian Bailey.
Modular Programming With Functions
Biologically Inspired Computing: Operators for Evolutionary Algorithms
John Hurley Cal State LA
Parameter control Chapter 8. A.E. Eiben and J.E. Smith, Introduction to Evolutionary Computing Parameter Control in EAs 2 Motivation 1 An EA has many.
Parameter Control A.E. Eiben and J.E. Smith, Introduction to Evolutionary Computing Chapter 8.
CHAPTER 9 E VOLUTIONARY C OMPUTATION I : G ENETIC A LGORITHMS Organization of chapter in ISSO –Introduction and history –Coding of  –Standard GA operations.
1 Lecture 8: Genetic Algorithms Contents : Miming nature The steps of the algorithm –Coosing parents –Reproduction –Mutation Deeper in GA –Stochastic Universal.
Estimation of Distribution Algorithms Ata Kaban School of Computer Science The University of Birmingham.
Estimation of Distribution Algorithms Let’s review what have done in EC so far: We have studied EP and found that each individual searched via Gaussian.
Quantum Error Correction SOURCES: Michele Mosca Daniel Gottesman Richard Spillman Andrew Landahl.
Evolutionary Computational Intelligence
A simple EA and Common Search Operators Temi avanzati di Intelligenza Artificiale - Lecture 2 Prof. Vincenzo Cutello Department of Mathematics and Computer.
Welcome to IIT and cs105!. CS Secs Jon Hanrath SB Office Hours: –MW 8:00 A.M. – 9:45 A.M. –W 5:00 P.M. – 6:00 P.M
Fast Evolutionary Optimisation Temi avanzati di Intelligenza Artificiale - Lecture 6 Prof. Vincenzo Cutello Department of Mathematics and Computer Science.
Tutorial 2 Temi avanzati di Intelligenza Artificiale - Lecture 6 Prof. Vincenzo Cutello Department of Mathematics and Computer Science University of Catania.
1 Business 90: Business Statistics Professor David Mease Sec 03, T R 7:30-8:45AM BBC 204 Lecture 21 = Start Chapter “Confidence Interval Estimation” (CIE)
Intro to AI Genetic Algorithm Ruth Bergman Fall 2002.
1 A Novel Binary Particle Swarm Optimization. 2 Binary PSO- One version In this version of PSO, each solution in the population is a binary string. –Each.
Lecture 2: Basic steps in SPSS and some tests of statistical inference
Tutorial 1 Temi avanzati di Intelligenza Artificiale - Lecture 3 Prof. Vincenzo Cutello Department of Mathematics and Computer Science University of Catania.
Evolutionary Computational Intelligence
CS 447 Advanced Topics in Artificial Intelligence Fall 2002.
Tutorial 4 (Lecture 12) Remainder from lecture 10: The implicit fitness sharing method Exercises – any solutions? Questions?
Getting to know Birkbeck Library’s resources Birkbeck Library.
C++ / G4MICE Course Session 3 Introduction to Classes Pointers and References Makefiles Standard Template Library.
CS223 Algorithms D-Term 2013 Instructor: Mohamed Eltabakh WPI, CS Introduction Slide 1.
Welcome to CS 3260 Dennis A. Fairclough. Overview Course Canvas Web Site Course Materials Lab Assignments Homework Grading Exams Withdrawing from Class.
Ch 8 Estimating with Confidence. Today’s Objectives ✓ I can interpret a confidence level. ✓ I can interpret a confidence interval in context. ✓ I can.
Quantifying the dynamics of Binary Search Trees under combined insertions and deletions BACKGROUND The complexity of many operations on Binary Search Trees.
Welcome to IIT and cs115!.
Ch 8 Estimating with Confidence. Today’s Objectives ✓ I can interpret a confidence level. ✓ I can interpret a confidence interval in context. ✓ I can.
Welcome to Physics 1403!!. Class Web Page! There, you can find: 1. Posted (MS Word format): Syllabus,
FALL 2011 TECHNICAL ORIENTATION. Session starts at 11:00 am We’ll be online shortly Speaker test starts about 10:45 To ask questions, use the chat window.
CMPSC 16 Problem Solving with Computers I Spring 2014 Instructor: Tevfik Bultan Lecture 12: Pointers continued, C strings.
Genetic algorithms Charles Darwin "A man who dares to waste an hour of life has not discovered the value of life"
Mark Dixon 1 03 – Passing Data between pages: Forms, Sessions, & Query Strings.
Welcome to CS 115! Introduction to Programming. Class URL Write this down!
Omni-Optimizer A Procedure for Single and Multi-objective Optimization Prof. Kalyanmoy Deb and Santosh Tiwari.
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
2005MEE Software Engineering Lecture 11 – Optimisation Techniques.
Why do GAs work? Symbol alphabet : {0, 1, * } * is a wild card symbol that matches both 0 and 1 A schema is a string with fixed and variable symbols 01*1*
Human Centric Computing (COMP106) Assignment 2 PROPOSAL 23.
/ 26 Evolutionary Computing Chapter 8. / 26 Chapter 8: Parameter Control Motivation Parameter setting –Tuning –Control Examples Where to apply parameter.
MAE 552 Heuristic Optimization Instructor: John Eddy Lecture #12 2/20/02 Evolutionary Algorithms.
Probabilistic Algorithms Evolutionary Algorithms Simulated Annealing.
Chapter 12 FUSION OF FUZZY SYSTEM AND GENETIC ALGORITHMS Chi-Yuan Yeh.
School of Computer Science & Information Technology G6DICP - Lecture 4 Variables, data types & decision making.
Solving Function Optimization Problems with Genetic Algorithms September 26, 2001 Cho, Dong-Yeon , Tel:
5. Implementing a GA 4 학습목표 GA 를 사용해 실제 문제를 해결할 때 고려해야 하는 사항에 대해 이해한다 Huge number of choices with little theoretical guidance Implementation issues + sophisticated.
Dynamics of Binary Search Trees under batch insertions and deletions with duplicates ╛ BACKGROUND The complexity of many operations on Binary Search Trees.
Live Seminar Live Seminar Crime Prevention Susan Wind Kaplan University Sunday, January 10, 2010.
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Selection and Recombination Temi avanzati di Intelligenza Artificiale - Lecture 4 Prof. Vincenzo Cutello Department of Mathematics and Computer Science.
CAP6938 Neuroevolution and Artificial Embryogeny Evolutionary Comptation Dr. Kenneth Stanley January 23, 2006.
Chapter 9 Sampling Distributions 9.1 Sampling Distributions.
Working On-Line Module 4 People's Resource Center Barry Glicklich Last updated 24 December 2011Working On-Line (BG)1.
Dr. Kenneth Stanley September 11, 2006
An Evolutionary Approach
Artificial Intelligence Project 2 Genetic Algorithms
Welcome to CS 1010! Algorithmic Problem Solving.
Lecture 10: Sketching S3: Nearest Neighbor Search
Welcome to CS 1010! Algorithmic Problem Solving.
Sampling Distribution
Sampling Distribution
An introduction to resources at the library
An introduction to resources at the library
Biologically Inspired Computing: Operators for Evolutionary Algorithms
Presentation transcript:

Tutorial 2 (Lecture6) (Intro to) Evolutionary Computation School of Computer Science University of Birmingham

Catching up… The module’s web page: – –Syllabus page linked from there Lecturer’s TA’s TA’s office hour: Wednsday 2-3pm –Please see him for help with programming exercises. See me in case of other problems

Catching up… Recommended books: –See Syllabus page –School library Where are the lecture/tutorial notes? –On the module’s web page + related papers to read New: ‘EC-discussions’ mailing list –Check that you received the welcome message –If you haven’t then contact us to add you on the list –The list is a forum of discussions for those registered to this module.

Remainder of this tutorial Questions –What was not sufficiently clear so far? –What do you want me to address in more detail? –Short recap of what we did so far Programming exercise & some hints

Questions?

Some thoughts before the exercise Real Valued Representation Gaussian or Cauchy Mutation Different distributions Very much depends on the scaling factor There are new papers related to this subject – pointers will be added to the EC web page The programming exercise will concern the ‘classical’ version of Fast-EP, discussed in the lecture

Implementing Gaussian and Cauchy Mutation Gaussian distributed random number In Java: mean + deviation * rng.nextGaussian(), or code below In C, C++ use GSL, or code below. Cauchy distributed random number In Java: see code below. In C, C++ use GSL, or code below. Other distributions See references References Gnu Scientific Library (GSL), L. Devroye, Non-Uniform Random Variate Generation, Springer Verlag Richard Saucier, Computer Generation of Statistical Distributions

Exercise Sheet Self-Adaptive Mutation Goal: The goal of this exercise is to get experience with real-valued based representations and self-adaptation in EC. Task Write an EA (possibly reusing bits from the previous tutorial), that finds the optimum in one of the test functions shown in Xin’s paper discussed in the last lecture. Use a real-valued representation, with Gaussian or Cauchy mutation and self-adaptive mutation parameter. Hints Each individual in the population will need two genotypes: one for the actual value and one for the strategy parameter. You will need to mutate both, using the contents of the second genotype to control the mutation of the first. Question  What happens if you do not use a minimum value for the strategy parameter?  For most global optimization problems, the ranges of variables are usually given (e.g. –10.0<x_i<10.0). What do you do if a random mutation takes an offspring outside the range?

Implementing Gaussian and Cauchy Mutation – code examples double Gaussian (double stdev, double median) { assert( stdev > 0. ); double u,v,x; do { u = 2.0 * rng.nextDouble() - 1.0; v = 2.0 * rng.nextDouble() - 1.0; x = u * u + v * v; } while ( x >= 1.0 ); return median + stdev * u * sqrt( -2. * log( x ) / x ); } double Cauchy (double formFactor, double median) { assert( formFactor > 0. ); double u, v; do { u = 2.0 * rng.nextDouble() - 1.0; v = 2.0 * rng.nextDouble() - 1.0; } while (u*u+v*v>1.0 ||(u==0.0&&v==0.0)); if (u!=0) return (median + formFactor * (v/u)); else return(median); } Code examples taken from Thorsten

Binary representation of Real Values? When designing a representation, try to ensure that: - your complete search space is covered - nothing outside your search space is covered - all areas of your search space are covered with equal density (no bias)

Problems with Binary Encoding 1. Hamming Cliffs Hamming distance = nos of pixel-wise differences Hamming distance is important Gray coding = neighbors always have hamming distance one 2. What bit-length to use when representing real values by binary strings? Too short… … or too long 3. Bit-Mutation Probability Single mutation… … or many-bit mutation In valued problems such as function optimization it is often better to use real-valued representation.

Have fun with the programming exercise! Do share your experiences on ‘EC-discussions’!