Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8d6d713

Browse files
PyGAD 2.17.0 Documentation
## PyGAD 2.17.0 Release Date: 8 July 2022 1. An issue is solved when the `gene_space` parameter is given a fixed value. e.g. gene_space=[range(5), 4]. The second gene's value is static (4) which causes an exception. 2. Fixed the issue where the `allow_duplicate_genes` parameter did not work when mutation is disabled (i.e. `mutation_type=None`). This is by checking for duplicates after crossover directly. #39 3. Solve an issue in the `tournament_selection()` method as the indices of the selected parents were incorrect. #89 4. Reuse the fitness values of the previously explored solutions rather than recalculating them. This feature only works if `save_solutions=True`. 5. Parallel processing is supported. This is by the introduction of a new parameter named `parallel_processing` in the constructor of the `pygad.GA` class. Thanks to [@windowshopr](https://github.com/windowshopr) for opening the issue [#78](#78) at GitHub. Check the [Parallel Processing in PyGAD](https://pygad.readthedocs.io/en/latest/README_pygad_ReadTheDocs.html#parallel-processing-in-pygad) section for more information and examples.
1 parent 8fecaad commit 8d6d713

File tree

3 files changed

+316
-37
lines changed

3 files changed

+316
-37
lines changed

‎docs/source/Footer.rst

Lines changed: 52 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -920,14 +920,14 @@ progress bar.
920920
``solutions_fitness`` array.
921921
https://github.com/ahmedfgad/GeneticAlgorithmPython/issues/64
922922

923-
1. There was an issue of getting the length of these 4 variables
923+
2. There was an issue of getting the length of these 4 variables
924924
(``solutions``, ``solutions_fitness``, ``best_solutions``, and
925925
``best_solutions_fitness``) doubled after each call of the ``run()``
926926
method. This is solved by resetting these variables at the beginning
927927
of the ``run()`` method.
928928
https://github.com/ahmedfgad/GeneticAlgorithmPython/issues/62
929929

930-
2. Bug fixes when adaptive mutation is used
930+
3. Bug fixes when adaptive mutation is used
931931
(``mutation_type="adaptive"``).
932932
https://github.com/ahmedfgad/GeneticAlgorithmPython/issues/65
933933

@@ -963,6 +963,40 @@ Release Date: 2 February 2022
963963
exception is raised if something is wrong.
964964
https://github.com/ahmedfgad/GeneticAlgorithmPython/issues/67
965965

966+
.. _pygad-2170:
967+
968+
PyGAD 2.17.0
969+
------------
970+
971+
Release Date: 8 July 2022
972+
973+
1. An issue is solved when the ``gene_space`` parameter is given a fixed
974+
value. e.g. gene_space=[range(5), 4]. The second gene's value is
975+
static (4) which causes an exception.
976+
977+
2. Fixed the issue where the ``allow_duplicate_genes`` parameter did not
978+
work when mutation is disabled (i.e. ``mutation_type=None``). This is
979+
by checking for duplicates after crossover directly.
980+
https://github.com/ahmedfgad/GeneticAlgorithmPython/issues/39
981+
982+
3. Solve an issue in the ``tournament_selection()`` method as the
983+
indices of the selected parents were incorrect.
984+
https://github.com/ahmedfgad/GeneticAlgorithmPython/issues/89
985+
986+
4. Reuse the fitness values of the previously explored solutions rather
987+
than recalculating them. This feature only works if
988+
``save_solutions=True``.
989+
990+
5. Parallel processing is supported. This is by the introduction of a
991+
new parameter named ``parallel_processing`` in the constructor of the
992+
``pygad.GA`` class. Thanks to
993+
`@windowshopr <https://github.com/windowshopr>`__ for opening the
994+
issue
995+
`#78 <https://github.com/ahmedfgad/GeneticAlgorithmPython/issues/78>`__
996+
at GitHub. Check the `Parallel Processing in
997+
PyGAD <https://pygad.readthedocs.io/en/latest/README_pygad_ReadTheDocs.html#parallel-processing-in-pygad>`__
998+
section for more information and examples.
999+
9661000
PyGAD Projects at GitHub
9671001
========================
9681002

@@ -1071,6 +1105,22 @@ Stackoverflow Questions about PyGAD
10711105
`Multi-Input Multi-Output in Genetic algorithm (python) <https://stackoverflow.com/questions/64943711/multi-input-multi-output-in-genetic-algorithm-python>`__
10721106
--------------------------------------------------------------------------------------------------------------------------------------------------------------
10731107

1108+
https://www.linkedin.com/pulse/validation-short-term-parametric-trading-model-genetic-landolfi
1109+
1110+
https://itchef.ru/articles/397758
1111+
1112+
https://audhiaprilliant.medium.com/genetic-algorithm-based-clustering-algorithm-in-searching-robust-initial-centroids-for-k-means-e3b4d892a4be
1113+
1114+
https://python.plainenglish.io/validation-of-a-short-term-parametric-trading-model-with-genetic-optimization-and-walk-forward-89708b789af6
1115+
1116+
https://ichi.pro/ko/pygadwa-hamkke-yujeon-algolijeum-eul-sayonghayeo-keras-model-eul-hunlyeonsikineun-bangbeob-173299286377169
1117+
1118+
https://ichi.pro/tr/pygad-ile-genetik-algoritmayi-kullanarak-keras-modelleri-nasil-egitilir-173299286377169
1119+
1120+
https://ichi.pro/ru/kak-obucit-modeli-keras-s-pomos-u-geneticeskogo-algoritma-s-pygad-173299286377169
1121+
1122+
https://blog.csdn.net/sinat_38079265/article/details/108449614
1123+
10741124
Submitting Issues
10751125
=================
10761126

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /