Genetic.io
Genetic Algorithms in all their shapes and forms !
Genetic.io
Make something of your big data
Genetic.io Genetic Algorithms in all their shapes and forms ! - - PowerPoint PPT Presentation
Genetic.io Genetic Algorithms in all their shapes and forms ! Genetic.io Make something of your big data Julien Sebrien Self-taught, passion for development. Java, Cassandra, Spark, JPPF . @jsebrien, julien.sebrien@genetic.io
Genetic Algorithms in all their shapes and forms !
Genetic.io
Make something of your big data
Genetic.io
.
implementation of evolutionary algorithms (genetics, ant colonies, etc.) to optimize business processes.
Python, Javascript, R).
Genetic.io
Make something of your big data
Julien Sebrien
Ant colony Simulated annealing Difgerential evolution Particle swarm optimization Genetic Algorithms Memetic Algorithms And all their variants...
Genetic.io
Make something of your big data
Evolutionary computation
Applications
problems by relying on bio-inspired operators such as mutation, crossover and selection.
Make something of your big data
Evolutionary Algorithms
Marketing
T
https://goo.gl/aCc9SJ Genetic algorithms 'naturally select' better satellite
https://goo.gl/eauC32
Astronautics
And others : Imagery, Linguistics: https://en.wikipedia.org/wiki/List_of_genetic_algorithm_applications
Genetic.io
Genetic Algorithms
Workfmow
Make something of your big data
Genetic.io
Selection
Make something of your big data
Several selection method exist: Roulette Wheel, T
Ranking, etc. Roulette Wheel example :
Parents are selected according to their fjtness. The fjttest individuals have a greater chance of survival than weaker ones. Selection probability:
Genetic.io
Crossover
Make something of your big data
Parent 1 Parent 2 Child 1 Child 2
1 crossover point 1 crossover point
Genetic.io
Mutation
Make something of your big data
stagnation within a local optimum.
child
Genetic.io
Evaluation
Make something of your big data
akes a candidate solution to the problem as input and produces as output how “fjt” or how “good” the solution is with respect to the problem in consideration.
the population.
increase the probability of convergence of the algorithm.
Genetic.io
T ermination
Make something of your big data
The algorithm ends if one of the following termination conditions is satisfjed :
previously defjned threshold.
Genetic.io
« TOBEORNOTTOBE » use case
Modelization:
generated randomly. Fitness function:
the target letter, at each position:
Make something of your big data
Genetic.io
Score = 131
Genome T arget Gap (absolute value)
Execution
Make something of your big data
Genetic.io
« Smart Rockets » use case
« Smart Rockets » use case
Modelization: A sequence of 300 acceleration vectors in a 2D plane. Fitness function:
movement, the higher will be his score.
Obstacle hit, Score = Score / 10 !
Make something of your big data
Genetic.io
Execution
Make something of your big data
Genetic.io
T
location
Selection of tourist sites
Modelization:
010100001
Make something of your big data
Genetic.io
Selection of tourist sites
Fitness function:
service.
Make something of your big data
Genetic.io
Selection of tourist sites
Objective: maximize
Make something of your big data
Genetic.io
Execution
Make something of your big data
Genetic.io
The Mona Lisa evolution
The Mona Lisa evolution
Make something of your big data
Method:
DNA:
Fitness:
for each component (R,G,B) Score =
Genetic.io
Fonctions de test
Snakes and neural networks
Snakes and neural networks
Vision 240 degrees, divided into 16 parts Three types of objects encountered:
=> 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
Make something of your big data
Objective:
antennas placed on orbiting satellites
Constraints:
Ratio) at transmission frequency (8470 Mhz), VSWR < 1,5 at reception fréquency (7209,125 Mhz)
diameter / height < 15,24 cm
Genetic.io
Antenna of NASA's ST5 mission
Make something of your big data
Fitness function:
Minimize: With: (Voltage Standing Wave Ratio) = , (« refmected wave », « forward wave ») : the sum of the penalties calculated for each angle : take into account the smoothing of gains
Genetic.io
Antenna of NASA's ST5 mission
Make something of your big data
Advantages :
Genetic.io
Ant colony algorithm
("visibility")
between two cities, the more likely the path will be chosen
pheromones on all the edges traveled if the path is short
Geneticio
Make something of your big data
Ant colony algorithm
Geneticio
Make something of your big data
Ant colony algorithm
Initial Path New Pheromone Reinforced Path Path fjnally adopted by the colony
Simulated annealing
temperature falls suffjciently.
to the measured energies:
newEnergy < energy ? true : Math.exp((energy - newEnergy) / temperature) > Math.random()
emperature decreases with each iteration temp *= 1-coolingRate;
coolingRate = 0.003 Geneticio
Make something of your big data
Simulated annealing
T est functions
Sphere
Make something of your big data
Minimum: Formula:
Genetic.io
Rosenbrock
Make something of your big data
Formula: Minimum:
Genetic.io
Rastrigin
Make something of your big data
Formula: Minimum:
Genetic.io
Clever Algorithms (Jason Brownlee):
https://users.info.uvt.ro/~dzaharie/ma2016/books/CleverAlgorithms_Brownlee_2011.pdf
The nature of code (Daniel Shifgman):
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
Make something of your big data
Bibliography
Genetic.io
Demo ! genetic.io/demo Twitter ! @geneticio
Questions?