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

Hi, Thanks for PyGAD, it's a great resource. I am trying to use it for an multiobjective optimization task. I have a good idea for what good solutions could be...

question

The `ga_instance.pareto_fronts` available after `ga_instance.run()` is calculated on `ga_instance.previous_generation_fitness`, it should be updated to reflect `ga_instance.last_generation_fitness`.

bug

Hi, Thank you for this wonderful lib. I'm experimenting with PyGAD on a scheduling problem, and I'm facing a bit of difficulty. My fitness function performs a multi-agent simulation (using...

question

Hi, I was trying to delete some of the solutions of the population on the fly (inside the fitness_func) which were introducing my prediction to diverge. This is possible only...

enhancement

Hi, can this library be used to maximize the output of a well-built neural net( by pytorch) with continuous and discrete/integer (1, 2, 3 ) variables? Is there any example?...

question

When I have an expression for calculating the restored image and there are two parameters in the expression that vary in a fixed range, I need to calculate the fitness...

question

Passing `gene_type=int` in the `GA` class constructor, will result in internal `numpy` arrays holding 64-bit integer values. This is well known to numpy users: ``` >>> type(numpy.array([1], dtype=int)[0]) ``` This,...

enhancement

Hi, I realy appreciate your works on PyGAD! I'm using it to make some chaotic learning with thousands of model, and a greedy fitness function. the parallelization is realy efficient...

bug

I am getting an error when I try to run with parallel_processing = ["process", 2] the first example on the PyGad webpage. Could somebody please help me with this?

In the [docs](https://pygad.readthedocs.io/en/latest/pygad.html#how-mutation-works-with-the-gene-space-parameter), it says that: > If a gene has its static space defined in the gene_space parameter, then mutation works by replacing the gene value by a value...

bug