This unsupervised genetic algorithm i have created will try to mimic the target image (New random image will be generated at each time) || Demo in @liveDemo || You can also use my @multi-level-snake-game,@Multilevel-Ballbrick-game as a playground to practice Genetic Algorithm || Check my other works @MyRepos || To know more about Genetic algorithm @WiKi
I have used @sandpile algorithm to generate a random image at each time || GrainSize for sandpile will be taken random between 900 and 1150 (inclusive)
Hyperparameter | value |
---|---|
Population Count | 10000 |
Selection Count | 2 |
Mutation Rate | 0.001 |
Chromosome Length | 900 |
Fitness reached 60% on 100th generation
Fitness reached 100% on 291th generation
View in https://karthiknedunchezhiyan.github.io/Image-Mimic-Genetic-Algorithm
@ChartJS for chart, @P5JS for canvas
Karthik Nedunchezhiyan – @Github – karthik1705.n@gmail.com
Distributed under the MIT license. See LICENSE
for more information.
Suggestions are always welcome