8000 Release PyGAD 2.16.0 Documentation · eshnag/GeneticAlgorithmPython · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

2.16.0

@ahmedfgad ahmedfgad tagged this 20 Jun 02:17
A user-defined function can be passed to the mutation_type, crossover_type, and parent_selection_type parameters in the pygad.GA class to create a custom mutation, crossover, and parent selection operators. Check the User-Defined Crossover, Mutation, and Parent Selection Operators section in the documentation: https://pygad.readthedocs.io/en/latest/README_pygad_ReadTheDocs.html#user-defined-crossover-mutation-and-parent-selection-operators

The example_custom_operators.py script gives an example of building and using custom functions for the 3 operators.

https://github.com/ahmedfgad/GeneticAlgorithmPython/discussions/50
Assets 2
Loading
0