Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Genetic-Algorithm

Implemented a simple genetic algorithm and explored its performance in evolving solution to one numerical problem, investigating the effect that various parameters have on its performance.

A simple genetic algorithm, that works on binary strings, and shows its performance on the Max-1s problem where the aim is to get a chromosome of all 1s. Used an 8-bit chromosome and, when calculating the fitness, mapped the binary number to an integer first; so the maximum fitness for an 8-bit chromosome is 255 which is the ideal case to reach.

Files atatched are:

  1. Code (Genetic Algorithm.ipynb)
  2. Report (Shows how performance has varied with respect to population size, number of generations and chromosome length separately)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages