Skip to content

74R45/GA2023_lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Analyzing RWS and SUS in Genetic Algorithms

This project performs an empirical analysis of the performance of Roulette Wheel Selection (RWS) and Stochastic Universal Sampling (SUS), as well as their modifications (with fitness function scaling): disruptive, blended selection, and window selection.

To do this, 100 different populations of size 100 are generated. They are then used in a genetic algorithm that runs until it converges (or reaches 10000 iterations) with every possible combination of the following configurations:

The results of the experiments are saved in .xlsx files in addition to graphs that analyze first 5 runs of each experiment in more detail.

How to run

  • Install pip
  • Install library dependencies: pip install numpy matplotlib xlsxwriter
  • Edit run configuration in config.py and main.py
  • Run python main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages