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 package is very useful and I think it should be available on the conda distribution as well. Please let me know if you need any help with this issue....

question

Attempting to build an Anaconda package and ran into an issue during testing, see trackback below. It appears that there is a call to import torch but it does not...

help wanted

The attribute gene_space is not working as expected. I have 4 genes, and have set gene_space as follows: gene_space = [{'low': 1, 'high': 30}, {'low': 1, 'high': 20}, {'low': 0.0001,...

question

From [PyGAD's documentation](https://pygad.readthedocs.io/en/latest/README_pygad_ReadTheDocs.html#init) the `best_solutions` attribute saves the best solution of every generation: >save_best_solutions=False: When True, then the best solution after each generation is saved into an attribute named best_solutions....

enhancement

Does PyGAD support multi-label classification? That is, classification where the classes are not mutually exclusive? My y variable is a numpy array created by the MultiLabelBinarizer. I am trying to...

question

I'm trying `pygad` (2.16.3) for the first time , and have found the check for the number of arguments of the fitness function to be overly sensitive, e.g. I would...

bug

I want to create a custom population with each chromosome/solution will be a pandas DataFrame. How should I create `initial_population` values and what should be assigned to `gene_type` attribute?

question

Dill is a fork of pickle that allows to serialise inner function (or class or whatever with inner structure). In a pipeline to train multiple independent algos, pygad can be...

enhancement

The typo is boldened below. It becomes unclear at the first reading which parameter refers to which case because both are described as being for the low-quality solutions. Based then...

PyGAD version: 2.16.3 Please specify somewhere in the docs that PyGAD is only geared for deterministic problems, and are not suitable for subjects that will produce different outputs even when...

question