Genetic algorithm implementation in Python
This folder under the project has the code built in the tutorial titled Genetic Algorithm Implementation in Python which is available in these links:
- https://www.linkedin.com/pulse/genetic-algorithm-implementation-python-ahmed-gad
- https://towardsdatascience.com/genetic-algorithm-implementation-in-python-5ab67bb124a6
- https://www.kdnuggets.com/2018/07/genetic-algorithm-implementation-python.html
The ga.py
file holds the implementation of the GA operations such as mutation and crossover. The other file gives an example of using the GA.py file.
It is important to note that this project does not implement everything in GA and there are a wide number of variations to be applied. For example, this project uses decimal representation for the chromosome and the binary representations might be preferred for other problems.