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

How can I save the instance of a GA during the fitness evaluation of the population? In other words, if it has evaluated the fitness of 15 individuals over a...

question

Hi, what metric is used to decide what solution in multi objective optimization is better? How do you compare them? https://pygad.readthedocs.io/en/latest/pygad_more.html#multi-objective-optimization

question

The following is my code for pygad: ```python num_parents_mating = 4 parent_selection_type = "random" keep_parents = -1 crossover_type = "single_point" mutation_type = "random" mutation_percent_genes = 10 num_edge_pairs_per_edges = 5.0 drop_single_nodes...

bug

I am running the example on how to use TQDM. I have used this successfully in a prior version and installation, but when running my previous code or the example...

bug

```python import numpy import pygad function_inputs = [4, -2, 3.5, 5, -11, -4.7] # Function inputs. desired_output = 44 # Function output. def fitness_func(ga_instance, solution, solution_idx): # XXX UNCOMMENT THIS...

question

Dear PyGAD team, Thinking how evolutionary algorithms work, I was wondering if it could make sense to start off with a large population, and reduce the population size over time,...

enhancement

I was checking my CPU usage while running a GA instance with adaptive mutation and noticed it's actually off most of the time. The fitness function I use takes several...

enhancement

First off: What an awesome library! I've noticed some problems when trying to solve multi-objective problems though. The underlying problem seems to be the same - some check not being...

bug

First of all, Thank you for your efforts. When I updated PYGAD to release 3.2.0, I've got an error regarding the pygad.kerasga module the erroe message is "AttributeError: module 'pygad'...

bug

versions: Python 3.11.4, PyGAD 3.1.0 on Linux x86_64. [pygad.gann](https://pygad.readthedocs.io/en/latest/gann.html) module documentation includes an [XOR Example](https://pygad.readthedocs.io/en/latest/gann.html#xor-classification). It works as is. However, as soon as I switch to using 'adaptive' mutation, I...

bug