More About PyGADΒΆ
This section covers the more advanced features of the pygad module. Pick a topic:
Multi-Objective Optimization
Optimize several objectives at once using NSGA-II or NSGA-III.
Controlling Gene Values
Restrict gene values with gene_space, gene_type, constraints, sample_size, and duplicate prevention.
Controlling Generations
Elitism, stopping criteria, random seed, saving and continuing, and population size.
Fitness Calculation and Performance
Parallel processing, batch fitness, reusing fitness, and non-deterministic problems.
Logging and the Lifecycle Summary
Print a Keras-like summary and log the outputs.
User-Defined Functions, Methods, and Classes
Pass your own functions, methods, or classes for the fitness and callbacks.
Benchmark Problems
Built-in single, multi, and many-objective benchmark problems to plug into the GA.