GeneticAlgorithmPython icon indicating copy to clipboard operation
GeneticAlgorithmPython copied to clipboard

Source code of PyGAD, a Python 3 library for building the genetic algorithm and training machine learning algorithms (Keras & PyTorch).

Results 117 GeneticAlgorithmPython issues
Sort by recently updated
recently updated
newest added

this engine has some nice features you may consider https://github.com/AluBhorta/UCSPy-Engine the definitions are in json - with soft / hard constraints / penalties defined.

enhancement

![code](https://user-images.githubusercontent.com/31374353/134422590-15749585-f78f-46a8-98d4-d6e284f58009.PNG) ![error_message](https://user-images.githubusercontent.com/31374353/134422594-5dfbf49e-299d-427a-8b50-e47c457ab87f.PNG)

bug

Hello, I've read that GAs can be improved by introduced a spatial dimension, which can avoid early local minima being found. This effectively means giving each individual an x,y coordinate,...

enhancement

Hi! Great project, thanks. However I've experianced some bugs. model = pygad.GA(someparameters - may be even sample model from documentation) model.run() model.plot_fitness(plot_type="scatter") ok model.run() model.plot_fitess() ok model.plot_fitness(plot_type="scatter") --------------------------------------------------------------------------- ValueError Traceback...

bug

I am using pygad, for GA, to find combination of solutions which would satisfy conditions. I have got a code, which runs 15 generations with 40 populations. When GA stops...

bug

Hi @ahmedfgad, First, you did an excellent project, congratulations! Secondly I have a question, my problem has a peculiar condition in gene generation, the sum of two genes must be...

question

HI ! I am trying to solve my problem with pygad :) I want to see the difference of fitness values by increasing population in one graph. For example, like...

question

With PyGAD 2.18.0 the `keep_elitism=1` paramter was introduced. Apparently this only works when no crossover operation is selected. This is a strange behavior, because in my understanding Selection(e.g. Elitism) and...

bug

Hi, I encountered a case where, if I'm using roulette wheel selection or stochastic universal selection and if the fitness sum is 0, there will be a division by 0....

bug

Hi, I tested the pygad library version 2.17.0 for solving the knapsack problem and I observed that even if I set allow_duplicate_genes=False, I still have duplicated genes in the solution....

help wanted