From 05a069abf43146e7f8eb37f37c539523bf62ac9a Mon Sep 17 00:00:00 2001 From: Ahmed Gad Date: Fri, 15 Jan 2021 11:18:02 -0500 Subject: [PATCH] PyGAD 2.10.2 A bug fix when save_best_solutions=True. Refer to this issue for more information: https://github.com/ahmedfgad/GeneticAlgorithmPython/issues/25 --- docs/source/Footer.rst | 89 ++++++++++++++++++++++++------------------ docs/source/conf.py | 2 +- 2 files changed, 51 insertions(+), 40 deletions(-) diff --git a/docs/source/Footer.rst b/docs/source/Footer.rst index 78d3e79..84775fc 100644 --- a/docs/source/Footer.rst +++ b/docs/source/Footer.rst @@ -1,9 +1,9 @@ -.. _header-n348: +.. _header-n359: Release History =============== -.. _header-n350: +.. _header-n361: PyGAD 1.0.17 ------------ @@ -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 ------------- @@ -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 ------------ @@ -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 ----------- @@ -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 ----------- @@ -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 ----------- @@ -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 ----------- @@ -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 ----------- @@ -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 ----------- @@ -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 ------------ @@ -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 ----------- @@ -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 ----------- @@ -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 ----------- @@ -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 ----------- @@ -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 ----------- @@ -420,7 +420,7 @@ Release Date: 3 October 2020 Management, Faculty of Engineering, Alexandria University, Egypt `__. -.. _header-n516: +.. _header-n527: PyGAD 2.9.0 ------------ @@ -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 ------------ @@ -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 ------------ @@ -541,7 +541,18 @@ Release Date: 10 January 2021 pointing about that at `GitHub `__. -.. _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 ======================== @@ -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 `__ -------------------------------------------------------------------------------- @@ -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 `__ ---------------------------------------------------- @@ -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 `__ -------------------------------------------------------------- @@ -589,7 +600,7 @@ projects `GeneticAlgorithmPython `__ and `NumPyANN `__. -.. _header-n565: +.. _header-n587: `NumPyCNN `__ ---------------------------------------------------- @@ -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 `__ -------------------------------------------------------- @@ -613,7 +624,7 @@ convolutional neural networks using the genetic algorithm. It uses the `GeneticAlgorithmPython `__ project for building the genetic algorithm. -.. _header-n571: +.. _header-n593: `KerasGA `__ -------------------------------------------------- @@ -626,7 +637,7 @@ the `GeneticAlgorithmPython `__ project for building the genetic algorithm. -.. _header-n574: +.. _header-n596: `TorchGA `__ -------------------------------------------------- @@ -642,7 +653,7 @@ project for building the genetic algorithm. `pygad.torchga `__: https://github.com/ahmedfgad/TorchGA -.. _header-n578: +.. _header-n600: Submitting Issues ================= @@ -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 =============== @@ -676,7 +687,7 @@ to ahmed.f.gad@gmail.com. Also check the **Contact Us** section for more contact details. -.. _header-n586: +.. _header-n608: Projects Built using PyGAD ========================== @@ -695,7 +706,7 @@ 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 ==================== @@ -703,7 +714,7 @@ 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 -------------------------------------------------- @@ -727,7 +738,7 @@ good resource to start with coding the genetic algorithm. |image0| -.. _header-n610: +.. _header-n632: Tutorial: Introduction to Genetic Algorithm ------------------------------------------- @@ -746,7 +757,7 @@ which is available at these links: |image1| -.. _header-n620: +.. _header-n642: Tutorial: Build Neural Networks in Python ----------------------------------------- @@ -766,7 +777,7 @@ available at these links: |image2| -.. _header-n630: +.. _header-n652: Tutorial: Optimize Neural Networks with Genetic Algorithm --------------------------------------------------------- @@ -786,7 +797,7 @@ available at these links: |image3| -.. _header-n640: +.. _header-n662: Tutorial: Building CNN in Python -------------------------------- @@ -812,7 +823,7 @@ good resource to start with coding CNNs. |image4| -.. _header-n653: +.. _header-n675: Tutorial: Derivation of CNN from FCNN ------------------------------------- @@ -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 -------------------------------------------------------------------------- @@ -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 ========== diff --git a/docs/source/conf.py b/docs/source/conf.py index 52c684d..3e2c82c 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -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'