Genetic algorithm finds Mona Lisa in the lake of possibilities
Different target space: https://www.youtube.com/watch?v=nvmo1SCBDSM
The algorithm starts by creating a population of images with random RGB values for each pixel.
Each color is evaluated separately for each individual.
Thus, 10 images correspond to 30 individuals.
The individual with the best matching red values gives its red values to the new parent. Another individual that best matches the green values provides the green values, and the same is true for blue.
The second best individuals then form the other parent
These two parents breed the next population by randomly combining parts of one parent with corresponding parts of the other parent.
Finally, the offspring is randomly mutated with adaptive probability.
With each successive generation, the mutation rate must decrease to further improve quality.
This code was created in MATLAB
Music: Kevin MacLeod - Local Forecast
Видео Genetic algorithm finds Mona Lisa in the lake of possibilities канала Hali Hammer
The algorithm starts by creating a population of images with random RGB values for each pixel.
Each color is evaluated separately for each individual.
Thus, 10 images correspond to 30 individuals.
The individual with the best matching red values gives its red values to the new parent. Another individual that best matches the green values provides the green values, and the same is true for blue.
The second best individuals then form the other parent
These two parents breed the next population by randomly combining parts of one parent with corresponding parts of the other parent.
Finally, the offspring is randomly mutated with adaptive probability.
With each successive generation, the mutation rate must decrease to further improve quality.
This code was created in MATLAB
Music: Kevin MacLeod - Local Forecast
Видео Genetic algorithm finds Mona Lisa in the lake of possibilities канала Hali Hammer
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Satisfying Particles! Velocity Visualisation of charged particles trapped in a boxGenetic algorithm making artistic approximations of imagesTrigonometric Particle Accelerator! - Compilation of VisualisationsCharged Lennard-Jones particles at 100KDropping Grains on an Abelian Sandpile!Inverted Electrostatics! Equal charges attract each other!Visualization of Nanofiltration and Reverse Osmosis with Lennard-Jones particlesExploring a Predator-Prey Model | Visualization of the Lotka-Volterra Equations.Evolution of 125,000 states in a 3D-Prey-Predator model!Compression of particles interacting with a Lennard-Jones potentialA.I. evolves to master this Flappy Bird clone through machine learingAcceleration of a small box filled with helium atoms[Epilepsy warning] Trippy Fibonacci Spiral - Sunflower AnimationAnno 1800: Projekt Megacity +55k InvestorsChanged physics! What if equal charges attracted each other?Genetic algorithm recreates a painting by Kavous VesalHow long can it stay symmetrical? From order to chaosCreation of a planet from particles!Performing a U-Turn at half the speed of light! (On a 900.000km circle)Simulation of a 3D Lennard-Jones blob trapped inside a boxSine-Gravity! Replacing Newton's Law of Gravity with Trigonometry!