PyGAD: an intuitive genetic algorithm Python library
Ahmed Fawzy Gad,Gad, Ahmed Fawzy
DOI: https://doi.org/10.1007/s11042-023-17167-y
IF: 2.577
2023-12-20
Multimedia Tools and Applications
Abstract:This paper introduces PyGAD, an open-source easy-to-use Python library for building the genetic algorithm (GA) and solving multi-objective optimization problems. PyGAD is designed as a general-purpose optimization library with the support of a wide range of parameters to give the user control over its life cycle. This includes, but not limited to, the population, fitness function, gene value space, gene data type, parent selection, crossover, and mutation. Its usage consists of 3 main steps: build the fitness function, create an instance of the pygad.GA class, and call the pygad.GA.run() method. The library supports training deep learning models created either with PyGAD itself or with frameworks such as Keras and PyTorch. Given its stable state, PyGAD is also in active development to respond to the user's requested features and enhancements received on GitHub.
computer science, information systems, theory & methods,engineering, electrical & electronic, software engineering