Skip to content

Commit

Permalink
Fix adaptive mutation desc
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedfgad committed Mar 28, 2024
1 parent 2daae49 commit a846a26
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/source/pygad.rst
Original file line number Diff line number Diff line change
Expand Up @@ -927,8 +927,10 @@ shuffles their order randomly.
``adaptive_mutation()``
~~~~~~~~~~~~~~~~~~~~~~~

Applies the adaptive mutation which selects a subset of genes and
shuffles their order randomly.
Applies the adaptive mutation which selects the number/percentage of
genes to mutate based on the solution's fitness. If the fitness is high
(i.e. solution quality is high), then small number/percentage of genes
is mutated compared to a solution with a low fitness.

.. _bestsolution:

Expand Down

0 comments on commit a846a26

Please sign in to comment.