Image-Mimic-Genetic-Algorithm
source link: https://www.tuicool.com/articles/hit/ZfUNJbN
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Image-Mimic-Genetic-Algorithm
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 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)
Configurations
Hyperparameter value Population Count 10000 Selection Count 2 Mutation Rate 0.001 Chromosome Length 900Screenshots
Fitness reached 60% on 100th generation
Fitness reached 100% on 291th generation
View in https://karthiknedunchezhiyan.github.io/Image-Mimic-Genetic-Algorithm
Components Used
@ChartJS for chart, @P5JS for canvas
Meta
Karthik Nedunchezhiyan – @Github – [email protected]
Distributed under the MIT license. See LICENSE
for more information.
Contributing
Suggestions are always welcome
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK