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 a912ec9

Browse files
PyGAD 2.19.2 documentation
1 parent e97c46a commit a912ec9

File tree

2 files changed

+21
-11
lines changed

2 files changed

+21
-11
lines changed

‎docs/source/Footer.rst

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,16 +1104,15 @@ Release Date: 22 February 2023
11041104
summary of the PyGAD lifecycle.
11051105

11061106
2. A new optional parameter called ``fitness_batch_size`` is supported
1107-
to calculate the fitness function in batches. If it is assigned the
1108-
value ``1`` or ``None`` (default), then the normal flow is used
1109-
where the fitness function is called for each individual solution.
1110-
If the ``fitness_batch_size`` parameter is assigned a value
1111-
satisfying this condition ``1 < fitness_batch_size <= sol_per_pop``,
1112-
then the solutions are grouped into batches of size
1113-
``fitness_batch_size`` and the fitness function is called once for
1114-
each batch. In this case, the fitness function must return a
1115-
list/tuple/numpy.ndarray with a length equal to the number of
1116-
solutions passed.
1107+
to calculate the fitness in batches. If it is assigned the value
1108+
``1`` or ``None`` (default), then the normal flow is used where the
1109+
fitness function is called for each individual solution. If the
1110+
``fitness_batch_size`` parameter is assigned a value satisfying this
1111+
condition ``1 < fitness_batch_size <= sol_per_pop``, then the
1112+
solutions are grouped into batches of size ``fitness_batch_size``
1113+
and the fitness function is called once for each batch. In this
1114+
case, the fitness function must return a list/tuple/numpy.ndarray
1115+
with a length equal to the number of solutions passed.
11171116
https://github.com/ahmedfgad/GeneticAlgorithmPython/issues/136.
11181117

11191118
3. The ``cloudpickle`` library
@@ -1181,6 +1180,17 @@ Release Date: 22 February 2023
11811180
1. Add the `cloudpickle <https://github.com/cloudpipe/cloudpickle>`__
11821181
library as a dependency.
11831182

1183+
.. _pygad-2192:
1184+
1185+
PyGAD 2.19.2
1186+
------------
1187+
1188+
Release Data 23 February 2023
1189+
1190+
1. Fix an issue when parallel processing was used where the elitism
1191+
solutions' fitness values are not re-used.
1192+
https://github.com/ahmedfgad/GeneticAlgorithmPython/issues/160#issuecomment-1441718184
1193+
11841194
PyGAD Projects at GitHub
11851195
========================
11861196

‎docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
author = 'Ahmed Fawzy Gad'
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = '2.19.1'
25+
release = '2.19.2'
2626

2727
master_doc = 'index'
2828

0 commit comments

Comments
(0)

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