ahmedfgad / GeneticAlgorithmPython

Source code of PyGAD, a Python 3 library for building the genetic algorithm and training machine learning algorithms (Keras & PyTorch).
https://pygad.readthedocs.io
BSD 3-Clause "New" or "Revised" License
1.79k stars 451 forks source link

Decreasing number of chromosomes #199

Open lavakin opened 1 year ago

lavakin commented 1 year ago

Hi, is there a way I can get smaller population over time? Meaning, can I somehow delete couple of chromosomes every round?

Many thanks!

ahmedfgad commented 1 year ago

This is not possible right now. The population size must be fixed.