Skip to content

This unsupervised genetic algorithm i have created will try to mimic the target image (New random image will be generated at each time)

License

Notifications You must be signed in to change notification settings

KarthikNedunchezhiyan/Image-Mimic-Genetic-Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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,@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)

Configurations

Hyperparameter value
Population Count 10000
Selection Count 2
Mutation Rate 0.001
Chromosome Length 900

Screenshots

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 – @Githubkarthik1705.n@gmail.com

Distributed under the MIT license. See LICENSE for more information.

Contributing

Suggestions are always welcome