Skip to content

Simple implementation of Genetic Algorithm to guess given string target with Python.

Notifications You must be signed in to change notification settings

nikkopg/GA-for-string-guessing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Genetic Algorithm for String Guessing with Python

Simple implementation of Genetic Algorithm to guess given string target using Python. This implementation refers to this repo which uses Matlab. This implementation has a little modification on Cross-Over step, where the cross-over index are random while the previous implementation are using fixed index.

Running Example:

Input string    : spontan uhuy
Population size : 15
Mutation rate   : 0.05
Completed after 4453 generations

GA

About

Simple implementation of Genetic Algorithm to guess given string target with Python.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages