GeneticAlgorithmPython
GeneticAlgorithmPython copied to clipboard
Source code of PyGAD, a Python 3 library for building the genetic algorithm and training machine learning algorithms (Keras & PyTorch).
Hi @ahmedfgad, Thanks for the great library that has re-ignited my interest for genetic algorithms and neural evolution. I was thinking about the usage of self-attention in the language modelling...
Hi, thank you for your all effort! I encountered an error when I tried to run algorithm with batched fitness. The solution shape change during run. In here, the batch...
i can't load my work for my project this very annoying, and i not understand clearly the error when i have finish to execute : ga_instance.run() i save the work...
I am trying to find a way to access the entire population of the previous generation (not just the calculated fitness or kept parents) to use in the evaluation of...
Is there a way to suppress the verbose output with a parameter maybe? 62/62 [==============================] - 1s 1ms/step 62/62 [==============================] - 0s 1ms/step 62/62 [==============================] - 0s 1ms/step 62/62 [==============================]...
Hi, is there a way I can get smaller population over time? Meaning, can I somehow delete couple of chromosomes every round? Many thanks!
I am using this example which is provided in documetation , but it gives me an error of parents , it said parents selected are not numpy array, I am...
Hi, I'm trying to have adaptive mutation while computing the fitness in batches. Apparently, it works fine, until it computes all the batches in current population, but then it tries...
I have installed `PYGAD` with pip and tried to run the `example_clustering_2.py` and it gives the following error: ``` File "/home/GeneticAlgorithmPython/example_clustering_2.py", line 3, in import pygad File "/home/GeneticAlgorithmPython/pygad.py", line 9,...
Hello, is there any way to manually edit the population during the calculation? I'd like to be able to drop a part of the lowest scoring chromosomes after the mutation...