Skip to content

Commit

Permalink
PyGAD 2.10.2
Browse files Browse the repository at this point in the history
A bug fix when save_best_solutions=True. Refer to this issue for more information: #25
  • Loading branch information
ahmedfgad authored Jan 15, 2021
1 parent 64c0f62 commit 05a069a
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 40 deletions.
89 changes: 50 additions & 39 deletions docs/source/Footer.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.. _header-n348:
.. _header-n359:

Release History
===============

.. _header-n350:
.. _header-n361:

PyGAD 1.0.17
------------
Expand All @@ -15,7 +15,7 @@ Release Date: 15 April 2020
values for the solutions. This allows the project to be customized to
any problem by building the right fitness function.

.. _header-n355:
.. _header-n366:

PyGAD 1.0.20
-------------
Expand All @@ -35,7 +35,7 @@ Release Date: 4 May 2020
4. The code object ``__code__`` of the passed fitness function is
checked to ensure it has the right number of parameters.

.. _header-n366:
.. _header-n377:

PyGAD 2.0.0
------------
Expand All @@ -61,7 +61,7 @@ Release Date: 13 May 2020
is called after each generation. This helps the user to do
post-processing or debugging operations after each generation.

.. _header-n377:
.. _header-n388:

PyGAD 2.1.0
-----------
Expand Down Expand Up @@ -97,7 +97,7 @@ Release Date: 14 May 2020

2. Mutation is applied independently for the genes.

.. _header-n392:
.. _header-n403:

PyGAD 2.2.1
-----------
Expand All @@ -107,7 +107,7 @@ Release Date: 17 May 2020
1. Adding 2 extra modules (pygad.nn and pygad.gann) for building and
training neural networks with the genetic algorithm.

.. _header-n397:
.. _header-n408:

PyGAD 2.2.2
-----------
Expand Down Expand Up @@ -141,7 +141,7 @@ The new gene value is **0.1**.
``crossover_type`` parameters of the pygad.GA class constructor. When
``None``, this means the step is bypassed and has no action.

.. _header-n410:
.. _header-n421:

PyGAD 2.3.0
-----------
Expand All @@ -166,7 +166,7 @@ Release date: 1 June 2020
6. The name of the ``pygad.nn.train_network()`` function is changed to
``pygad.nn.train()``.

.. _header-n425:
.. _header-n436:

PyGAD 2.4.0
-----------
Expand Down Expand Up @@ -204,7 +204,7 @@ through more generations because no further improvement is possible.
if ga_instance.best_solution()[1] >= 70:
return "stop"
.. _header-n435:
.. _header-n446:

PyGAD 2.5.0
-----------
Expand Down Expand Up @@ -300,7 +300,7 @@ If the user did not assign the initial population to the
randomly based on the ``gene_space`` parameter. Moreover, the mutation
is applied based on this parameter.

.. _header-n463:
.. _header-n474:

PyGAD 2.6.0
------------
Expand All @@ -318,7 +318,7 @@ Release Date: 6 August 2020
``on_fitness``, ``on_parents``, ``on_crossover``, ``on_mutation``,
``on_generation``, and ``on_stop``.

.. _header-n472:
.. _header-n483:

PyGAD 2.7.0
-----------
Expand Down Expand Up @@ -377,7 +377,7 @@ parameter or set it to ``"classification"`` (default value). In this
case, the activation function of the last layer can be set to any type
(e.g. softmax).

.. _header-n496:
.. _header-n507:

PyGAD 2.7.1
-----------
Expand All @@ -387,7 +387,7 @@ Release Date: 11 September 2020
1. A bug fix when the ``problem_type`` argument is set to
``regression``.

.. _header-n501:
.. _header-n512:

PyGAD 2.7.2
-----------
Expand All @@ -397,7 +397,7 @@ Release Date: 14 September 2020
1. Bug fix to support building and training regression neural networks
with multiple outputs.

.. _header-n506:
.. _header-n517:

PyGAD 2.8.0
-----------
Expand All @@ -407,7 +407,7 @@ Release Date: 20 September 2020
1. Support of a new module named ``kerasga`` so that the Keras models
can be trained by the genetic algorithm using PyGAD.

.. _header-n511:
.. _header-n522:

PyGAD 2.8.1
-----------
Expand All @@ -420,7 +420,7 @@ Release Date: 3 October 2020
Management, Faculty of Engineering, Alexandria University,
Egypt <https://www.linkedin.com/in/hamadakassem>`__.

.. _header-n516:
.. _header-n527:

PyGAD 2.9.0
------------
Expand Down Expand Up @@ -448,7 +448,7 @@ Release Date: 06 December 2020
``numpy.int64``, ``numpy.float``, ``numpy.float16``,
``numpy.float32``, or ``numpy.float64``.

.. _header-n529:
.. _header-n540:

PyGAD 2.10.0
------------
Expand Down Expand Up @@ -509,7 +509,7 @@ Release Date: 03 January 2021
``cal_pop_fitness()`` method is called to calculate the fitness
values of the population.

.. _header-n698:
.. _header-n565:

PyGAD 2.10.1
------------
Expand Down Expand Up @@ -541,7 +541,18 @@ Release Date: 10 January 2021
pointing about that at
`GitHub <https://github.com/ahmedfgad/KerasGA/issues/1>`__.

.. _header-n554:
.. _header-n721:

PyGAD 2.10.2
------------

Release Date: 15 January 2021

1. A bug fix when ``save_best_solutions=True``. Refer to this issue for
more information:
https://github.com/ahmedfgad/GeneticAlgorithmPython/issues/25

.. _header-n720:

PyGAD Projects at GitHub
========================
Expand All @@ -551,7 +562,7 @@ https://pypi.org/project/pygad. PyGAD is built out of a number of
open-source GitHub projects. A brief note about these projects is given
in the next subsections.

.. _header-n556:
.. _header-n578:

`GeneticAlgorithmPython <https://github.com/ahmedfgad/GeneticAlgorithmPython>`__
--------------------------------------------------------------------------------
Expand All @@ -562,7 +573,7 @@ GitHub Link: https://github.com/ahmedfgad/GeneticAlgorithmPython
is the first project which is an open-source Python 3 project for
implementing the genetic algorithm based on NumPy.

.. _header-n559:
.. _header-n581:

`NumPyANN <https://github.com/ahmedfgad/NumPyANN>`__
----------------------------------------------------
Expand All @@ -576,7 +587,7 @@ neural network without using a training algorithm. Currently, it only
supports classification and later regression will be also supported.
Moreover, only one class is supported per sample.

.. _header-n562:
.. _header-n584:

`NeuralGenetic <https://github.com/ahmedfgad/NeuralGenetic>`__
--------------------------------------------------------------
Expand All @@ -589,7 +600,7 @@ projects
`GeneticAlgorithmPython <https://github.com/ahmedfgad/GeneticAlgorithmPython>`__
and `NumPyANN <https://github.com/ahmedfgad/NumPyANN>`__.

.. _header-n565:
.. _header-n587:

`NumPyCNN <https://github.com/ahmedfgad/NumPyCNN>`__
----------------------------------------------------
Expand All @@ -601,7 +612,7 @@ convolutional neural networks using NumPy. The purpose of this project
is to only implement the **forward pass** of a convolutional neural
network without using a training algorithm.

.. _header-n568:
.. _header-n590:

`CNNGenetic <https://github.com/ahmedfgad/CNNGenetic>`__
--------------------------------------------------------
Expand All @@ -613,7 +624,7 @@ convolutional neural networks using the genetic algorithm. It uses the
`GeneticAlgorithmPython <https://github.com/ahmedfgad/GeneticAlgorithmPython>`__
project for building the genetic algorithm.

.. _header-n571:
.. _header-n593:

`KerasGA <https://github.com/ahmedfgad/KerasGA>`__
--------------------------------------------------
Expand All @@ -626,7 +637,7 @@ the
`GeneticAlgorithmPython <https://github.com/ahmedfgad/GeneticAlgorithmPython>`__
project for building the genetic algorithm.

.. _header-n574:
.. _header-n596:

`TorchGA <https://github.com/ahmedfgad/TorchGA>`__
--------------------------------------------------
Expand All @@ -642,7 +653,7 @@ project for building the genetic algorithm.
`pygad.torchga <https://github.com/ahmedfgad/TorchGA>`__:
https://github.com/ahmedfgad/TorchGA

.. _header-n578:
.. _header-n600:

Submitting Issues
=================
Expand All @@ -659,7 +670,7 @@ is not working properly or to ask for questions.
If this is not a proper option for you, then check the **Contact Us**
section for more contact details.

.. _header-n582:
.. _header-n604:

Ask for Feature
===============
Expand All @@ -676,7 +687,7 @@ to [email protected].

Also check the **Contact Us** section for more contact details.

.. _header-n586:
.. _header-n608:

Projects Built using PyGAD
==========================
Expand All @@ -695,15 +706,15 @@ Within your message, please send the following details:

- Preferably, a link that directs the readers to your project

.. _header-n597:
.. _header-n619:

For More Information
====================

There are different resources that can be used to get started with the
genetic algorithm and building it in Python.

.. _header-n599:
.. _header-n621:

Tutorial: Implementing Genetic Algorithm in Python
--------------------------------------------------
Expand All @@ -727,7 +738,7 @@ good resource to start with coding the genetic algorithm.

|image0|

.. _header-n610:
.. _header-n632:

Tutorial: Introduction to Genetic Algorithm
-------------------------------------------
Expand All @@ -746,7 +757,7 @@ which is available at these links:

|image1|

.. _header-n620:
.. _header-n642:

Tutorial: Build Neural Networks in Python
-----------------------------------------
Expand All @@ -766,7 +777,7 @@ available at these links:

|image2|

.. _header-n630:
.. _header-n652:

Tutorial: Optimize Neural Networks with Genetic Algorithm
---------------------------------------------------------
Expand All @@ -786,7 +797,7 @@ available at these links:

|image3|

.. _header-n640:
.. _header-n662:

Tutorial: Building CNN in Python
--------------------------------
Expand All @@ -812,7 +823,7 @@ good resource to start with coding CNNs.

|image4|

.. _header-n653:
.. _header-n675:

Tutorial: Derivation of CNN from FCNN
-------------------------------------
Expand All @@ -831,7 +842,7 @@ which is available at these links:

|image5|

.. _header-n663:
.. _header-n685:

Book: Practical Computer Vision Applications Using Deep Learning with CNNs
--------------------------------------------------------------------------
Expand All @@ -857,7 +868,7 @@ Find the book at these links:
.. figure:: https://user-images.githubusercontent.com/16560492/78830077-ae7c2800-79e7-11ea-980b-53b6bd879eeb.jpg
:alt:

.. _header-n678:
.. _header-n700:

Contact Us
==========
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = 'Ahmed Fawzy Gad'

# The full version, including alpha/beta/rc tags
release = '2.10.1'
release = '2.10.2'

master_doc = 'index'

Expand Down

0 comments on commit 05a069a

Please sign in to comment.