Genetic.io. Genetic Algorithms in all their shapes and forms! Genetic.io Make something of your big data

Similar documents
ARTIFICIAL INTELLIGENCE (CSCU9YE ) LECTURE 5: EVOLUTIONARY ALGORITHMS

A Genetic Algorithm for Graph Matching using Graph Node Characteristics 1 2

Kyrre Glette INF3490 Evolvable Hardware Cartesian Genetic Programming

Evolutionary Algorithms. CS Evolutionary Algorithms 1

Suppose you have a problem You don t know how to solve it What can you do? Can you use a computer to somehow find a solution for you?

DERIVATIVE-FREE OPTIMIZATION

METAHEURISTICS. Introduction. Introduction. Nature of metaheuristics. Local improvement procedure. Example: objective function

Hybrid of Genetic Algorithm and Continuous Ant Colony Optimization for Optimum Solution

SIMULATION APPROACH OF CUTTING TOOL MOVEMENT USING ARTIFICIAL INTELLIGENCE METHOD

An Introduction to Evolutionary Algorithms

CT79 SOFT COMPUTING ALCCS-FEB 2014

Generation of Ultra Side lobe levels in Circular Array Antennas using Evolutionary Algorithms

Artificial Intelligence in Robot Path Planning

Genetic Algorithms. PHY 604: Computational Methods in Physics and Astrophysics II

4/22/2014. Genetic Algorithms. Diwakar Yagyasen Department of Computer Science BBDNITM. Introduction

1 Lab 5: Particle Swarm Optimization

Heuristic Optimisation

Solving the Traveling Salesman Problem using Reinforced Ant Colony Optimization techniques

Particle Swarm Optimization applied to Pattern Recognition

What is GOSET? GOSET stands for Genetic Optimization System Engineering Tool

The movement of the dimmer firefly i towards the brighter firefly j in terms of the dimmer one s updated location is determined by the following equat

Lecture 4. Convexity Robust cost functions Optimizing non-convex functions. 3B1B Optimization Michaelmas 2017 A. Zisserman

CHAPTER 4 GENETIC ALGORITHM

Study on GA-based matching method of railway vehicle wheels

A Study on the Traveling Salesman Problem using Genetic Algorithms

1 Lab + Hwk 5: Particle Swarm Optimization

Vectorization Using Stochastic Local Search

1 Lab + Hwk 5: Particle Swarm Optimization

Genetic Algorithms. Kang Zheng Karl Schober

CHAPTER 6 REAL-VALUED GENETIC ALGORITHMS

Automatic Programming with Ant Colony Optimization

Machine Evolution. Machine Evolution. Let s look at. Machine Evolution. Machine Evolution. Machine Evolution. Machine Evolution

Reducing Graphic Conflict In Scale Reduced Maps Using A Genetic Algorithm

CS5401 FS2015 Exam 1 Key

Introduction to Genetic Algorithms. Based on Chapter 10 of Marsland Chapter 9 of Mitchell

Solving Optimization Problems with MATLAB Loren Shure

Outline. Best-first search. Greedy best-first search A* search Heuristics Local search algorithms

Path Planning Optimization Using Genetic Algorithm A Literature Review

Open Access Research on Traveling Salesman Problem Based on the Ant Colony Optimization Algorithm and Genetic Algorithm

Ant Colony Optimization: The Traveling Salesman Problem

Ant colony optimization with genetic operations

COMPARISON OF DIFFERENT HEURISTIC, METAHEURISTIC, NATURE BASED OPTIMIZATION ALGORITHMS FOR TRAVELLING SALESMAN PROBLEM SOLUTION

Artificial Intelligence Application (Genetic Algorithm)

Automata Construct with Genetic Algorithm

Artificial Intelligence

GENETIC ALGORITHM with Hands-On exercise

ATI Material Do Not Duplicate ATI Material. www. ATIcourses.com. www. ATIcourses.com

Hybrid of Ant Colony Optimization and Gravitational Emulation Based Load Balancing Strategy in Cloud Computing

Solving the Shortest Path Problem in Vehicle Navigation System by Ant Colony Algorithm

Active contour: a parallel genetic algorithm approach

METAHEURISTIC. Jacques A. Ferland Department of Informatique and Recherche Opérationnelle Université de Montréal.

MSc Robotics and Automation School of Computing, Science and Engineering

A Review: Optimization of Energy in Wireless Sensor Networks

ANTICIPATORY VERSUS TRADITIONAL GENETIC ALGORITHM

Bio-inspired cost-aware optimization for dataintensive

Investigation of Simulated Annealing, Ant-Colony and Genetic Algorithms for Distribution Network Expansion Planning with Distributed Generation

Introduction to Genetic Algorithms

Information Fusion Dr. B. K. Panigrahi

Robot Path Planning Method Based on Improved Genetic Algorithm

Automatic Design of Ant Algorithms with Grammatical Evolution

Artificial Intelligence, CS, Nanjing University Spring, 2016, Yang Yu. Lecture 5: Search 4.

Multi-Objective Optimization Using Genetic Algorithms

Using Genetic Algorithms in Integer Programming for Decision Support

Optimization of Function by using a New MATLAB based Genetic Algorithm Procedure

African Buffalo Optimization (ABO): a New Meta-Heuristic Algorithm

The Use of Genetic Algorithms in Multilayer Mirror Optimization. Department of Physics and Astronomy Brigham Young University, Provo, UT 84602

Genetic Algorithms for Vision and Pattern Recognition

Algorithm Design (4) Metaheuristics

Variable Neighbourhood Search (VNS)

Genetic Algorithms. Genetic Algorithms

Evolutionary algorithms in communications

Variable Neighbourhood Search (VNS)

Genetic Algorithm for optimization using MATLAB

GA is the most popular population based heuristic algorithm since it was developed by Holland in 1975 [1]. This algorithm runs faster and requires les

Offspring Generation Method using Delaunay Triangulation for Real-Coded Genetic Algorithms

Genetic Algorithms Variations and Implementation Issues

Multi-Modal Metropolis Nested Sampling For Inspiralling Binaries

The k-means Algorithm and Genetic Algorithm

Evolutionary Algorithms Meta heuristics and related optimization techniques II/II

Hybrid Bee Ant Colony Algorithm for Effective Load Balancing And Job Scheduling In Cloud Computing

Evolutionary Computation Algorithms for Cryptanalysis: A Study

A Comparative Study on Nature Inspired Algorithms with Firefly Algorithm

Advanced Search Genetic algorithm

Dynamic Robot Path Planning Using Improved Max-Min Ant Colony Optimization

Meta- Heuristic based Optimization Algorithms: A Comparative Study of Genetic Algorithm and Particle Swarm Optimization

Clustering Evolutionary Computation for Solving Travelling Salesman Problems

International Journal of Digital Application & Contemporary research Website: (Volume 1, Issue 7, February 2013)

Non-deterministic Search techniques. Emma Hart

Modified Particle Swarm Optimization

Escaping Local Optima: Genetic Algorithm

Introduction (7.1) Genetic Algorithms (GA) (7.2) Simulated Annealing (SA) (7.3) Random Search (7.4) Downhill Simplex Search (DSS) (7.

Research Article Path Planning Using a Hybrid Evolutionary Algorithm Based on Tree Structure Encoding

Reflector profile optimisation using Radiance

Optimization of Ant based Cluster Head Election Algorithm in Wireless Sensor Networks

Lecture 5: Optimization of accelerators in simulation and experiments. X. Huang USPAS, Jan 2015

Genetic Placement: Genie Algorithm Way Sern Shong ECE556 Final Project Fall 2004

Introduction to Design Optimization: Search Methods

Local Search (Ch )

A Novel Approach to Solve Unit Commitment and Economic Load Dispatch Problem using IDE-OBL

Robust Descriptive Statistics Based PSO Algorithm for Image Segmentation

Transcription:

Genetic Algorithms in all their shapes and forms!

Julien Sebrien Self-taught, passion for development. Java, Cassandra, Spark, JPPF. @jsebrien, julien.sebrien@genetic.io Distribution of IT solutions (SaaS, On Premise) allowing the implementation of evolutionary algorithms (genetics, ant colonies, etc.) to optimize business processes. Natively distributed architecture. Multi-platform (Windows, Unix, Mac), polyglot (Java, Scala, Python, Javascript, R).

Evolutionary computation Ant colony Simulated annealing Differential evolution Particle swarm optimization Genetic Algorithms Memetic Algorithms And all their variants...

Evolutionary Algorithms Inspired by natural physical mechanisms. Generate high-quality solutions for optimization and search problems by relying on bio-inspired operators such as mutation, crossover and selection. Applications Tourism marketing : https://goo.gl/acc9sj Marketing Astronautics Genetic algorithms 'naturally select' better satellite orbits : https://goo.gl/eauc32 And others : Imagery, Linguistics: https://en.wikipedia.org/wiki/list_of_genetic_algorithm_applications

Genetic Algorithms

Workflow

Selection Several selection method exist: Roulette Wheel, Tournament, Ranking, etc. Roulette Wheel example : Parents are selected according to their fitness. The fittest individuals have a greater chance of survival than weaker ones. Selection probability:

Crossover Parent 1 Parent 2 Child 1 Child 2 1 crossover point 1 crossover point

Mutation Injects diversity into the population, reducing the risk of stagnation within a local optimum. Mutation rate generally between 1 and 5%. child

Evaluation Takes a candidate solution to the problem as input and produces as output how fit or how good the solution is with respect to the problem in consideration. The assigned score is ideally independent of other individuals in the population. This function should be carefully implemented in order to increase the probability of convergence of the algorithm.

Termination The algorithm ends if one of the following termination conditions is satisfied : A maximum number of generations is reached. A candidate has a fitness score greater than or equal to a previously defined threshold. The algorithm has been running for too long. Etc.

«TOBEORNOTTOBE» use case Modelization: Initial genome consisting of a sequence of 13 characters, generated randomly. Fitness function: Sum of the differences between the letter of the genome and the target letter, at each position: Genome Target Score = 131 Gap (absolute value)

Execution

«Smart Rockets» use case

«Smart Rockets» use case Modelization: A sequence of 300 acceleration vectors in a 2D plane. Fitness function: The closer an individual is to his target at the end of his movement, the higher will be his score. An individual's score will be severely penalized if he touches the obstacle during his movement. Score = 1/ R (with R = remaining distance from target) ; If Obstacle hit, Score = Score / 10!

Execution

Tourist sites location optimization

Selection of tourist sites Modelization: A sequence of bits, representing the presence of an agency on a site: 010100001

Selection of tourist sites Fitness function: Depends on the following variables: - The number of tourist sites. - The number of competitors in the territory in question. - The number of geographical areas within the territory concerned. - The number of categories of households. - The average expenditure of an individual in category k, for a tourist product or service. - The number of k categories of households located in an area i. - Subjective measures of attraction of a site j. - The subjective measures of attraction of the services offered on each site. - The transport time from an area i to a site j. - Transport time from an area i to an existing tourist location.

Selection of tourist sites Objective: maximize

Execution

The Mona Lisa evolution

The Mona Lisa evolution Method: Random generation of polygons DNA: Image pixels (int array) Fitness: Calculation of color differences for each component (R,G,B) Score =

Snakes and neural networks Fonctions de test

Snakes and neural networks Vision 240 degrees, divided into 16 parts Three types of objects encountered: - Wall - Food - Himself! => 48 input neurons

Snakes and neural networks Inputs Outputs (angle = output 1 output 2)

Snakes and neural networks DNA : Fitness : 20. Size + 5. Health (ie. Dead or Alive!)

Antenna of NASA's ST5 mission

Antenna of NASA's ST5 mission Objective: Optimize the design and efficiency of antennas placed on orbiting satellites Constraints: VSWR < 1,2 (Voltage Standing Wave Ratio) at transmission frequency (8470 Mhz), VSWR < 1,5 at reception fréquency (7209,125 Mhz) Input Impedance at 50 Ohms Mass < 165g, contained in cylinder of diameter / height < 15,24 cm

Antenna of NASA's ST5 mission Fitness function: Minimize: With: (Voltage Standing Wave Ratio) = «forward wave»), («reflected wave», : the sum of the penalties calculated for each angle : take into account the smoothing of gains

Antenna of NASA's ST5 mission Advantages : Better consumption, manufacturing time, performance, complexity, reliability Improved efficiency by 93%, for 2 QHA (quadrifilar helix antenna)

Ant colony algorithm

Ant colony algorithm the ant can only visit each city once the more a city is far away, the less likely it is to be chosen ("visibility") the greater the intensity of the pheromone trail on the ridge between two cities, the more likely the path will be chosen once the path has been completed, the ant deposits more pheromones on all the edges traveled if the path is short the pheromone tracks evaporate at each iteration Geneticio

Ant colony algorithm Initial Path New Pheromone Reinforced Path Path finally adopted by the colony Geneticio

Simulated annealing

Simulated annealing Generating an initial temperature, and a random solution. Iterations until a satisfactory solution is obtained, or the temperature falls sufficiently. Generating a New Solution from the Modified Current. Replacement of the current solution by the new solution according to the measured energies: newenergy < energy? true : Math.exp((energy - newenergy) / temperature) > Math.random() Temperature decreases with each iteration temp *= 1-coolingRate; coolingrate = 0.003 Geneticio

Test functions

Sphere Formula: Minimum:

Rosenbrock Formula: Minimum:

Rastrigin Formula: Minimum:

Bibliography Clever Algorithms (Jason Brownlee): https://users.info.uvt.ro/~dzaharie/ma2016/books/cleveralgorithms_brownlee_2011.pdf The nature of code (Daniel Shiffman): http://natureofcode.com/book/ Genetic Algorithms in Search, Optimization, and Machine Learning (David E. Goldberg): https://www.amazon.com/genetic-algorithms-optimization-machine-learning/dp/0201157675

Questions? Demo! genetic.io/demo Twitter! @geneticio