Skip to content

Commit 05a069a

Browse files
authored
PyGAD 2.10.2
A bug fix when save_best_solutions=True. Refer to this issue for more information: #25
1 parent 64c0f62 commit 05a069a

File tree

2 files changed

+51
-40
lines changed

2 files changed

+51
-40
lines changed

docs/source/Footer.rst

+50-39
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
.. _header-n348:
1+
.. _header-n359:
22

33
Release History
44
===============
55

6-
.. _header-n350:
6+
.. _header-n361:
77

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

18-
.. _header-n355:
18+
.. _header-n366:
1919

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

38-
.. _header-n366:
38+
.. _header-n377:
3939

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

64-
.. _header-n377:
64+
.. _header-n388:
6565

6666
PyGAD 2.1.0
6767
-----------
@@ -97,7 +97,7 @@ Release Date: 14 May 2020
9797

9898
2. Mutation is applied independently for the genes.
9999

100-
.. _header-n392:
100+
.. _header-n403:
101101

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

110-
.. _header-n397:
110+
.. _header-n408:
111111

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

144-
.. _header-n410:
144+
.. _header-n421:
145145

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

169-
.. _header-n425:
169+
.. _header-n436:
170170

171171
PyGAD 2.4.0
172172
-----------
@@ -204,7 +204,7 @@ through more generations because no further improvement is possible.
204204
if ga_instance.best_solution()[1] >= 70:
205205
return "stop"
206206
207-
.. _header-n435:
207+
.. _header-n446:
208208

209209
PyGAD 2.5.0
210210
-----------
@@ -300,7 +300,7 @@ If the user did not assign the initial population to the
300300
randomly based on the ``gene_space`` parameter. Moreover, the mutation
301301
is applied based on this parameter.
302302

303-
.. _header-n463:
303+
.. _header-n474:
304304

305305
PyGAD 2.6.0
306306
------------
@@ -318,7 +318,7 @@ Release Date: 6 August 2020
318318
``on_fitness``, ``on_parents``, ``on_crossover``, ``on_mutation``,
319319
``on_generation``, and ``on_stop``.
320320

321-
.. _header-n472:
321+
.. _header-n483:
322322

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

380-
.. _header-n496:
380+
.. _header-n507:
381381

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

390-
.. _header-n501:
390+
.. _header-n512:
391391

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

400-
.. _header-n506:
400+
.. _header-n517:
401401

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

410-
.. _header-n511:
410+
.. _header-n522:
411411

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

423-
.. _header-n516:
423+
.. _header-n527:
424424

425425
PyGAD 2.9.0
426426
------------
@@ -448,7 +448,7 @@ Release Date: 06 December 2020
448448
``numpy.int64``, ``numpy.float``, ``numpy.float16``,
449449
``numpy.float32``, or ``numpy.float64``.
450450

451-
.. _header-n529:
451+
.. _header-n540:
452452

453453
PyGAD 2.10.0
454454
------------
@@ -509,7 +509,7 @@ Release Date: 03 January 2021
509509
``cal_pop_fitness()`` method is called to calculate the fitness
510510
values of the population.
511511

512-
.. _header-n698:
512+
.. _header-n565:
513513

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

544-
.. _header-n554:
544+
.. _header-n721:
545+
546+
PyGAD 2.10.2
547+
------------
548+
549+
Release Date: 15 January 2021
550+
551+
1. A bug fix when ``save_best_solutions=True``. Refer to this issue for
552+
more information:
553+
https://github.com/ahmedfgad/GeneticAlgorithmPython/issues/25
554+
555+
.. _header-n720:
545556

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

554-
.. _header-n556:
565+
.. _header-n578:
555566

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

565-
.. _header-n559:
576+
.. _header-n581:
566577

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

579-
.. _header-n562:
590+
.. _header-n584:
580591

581592
`NeuralGenetic <https://github.com/ahmedfgad/NeuralGenetic>`__
582593
--------------------------------------------------------------
@@ -589,7 +600,7 @@ projects
589600
`GeneticAlgorithmPython <https://github.com/ahmedfgad/GeneticAlgorithmPython>`__
590601
and `NumPyANN <https://github.com/ahmedfgad/NumPyANN>`__.
591602

592-
.. _header-n565:
603+
.. _header-n587:
593604

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

604-
.. _header-n568:
615+
.. _header-n590:
605616

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

616-
.. _header-n571:
627+
.. _header-n593:
617628

618629
`KerasGA <https://github.com/ahmedfgad/KerasGA>`__
619630
--------------------------------------------------
@@ -626,7 +637,7 @@ the
626637
`GeneticAlgorithmPython <https://github.com/ahmedfgad/GeneticAlgorithmPython>`__
627638
project for building the genetic algorithm.
628639

629-
.. _header-n574:
640+
.. _header-n596:
630641

631642
`TorchGA <https://github.com/ahmedfgad/TorchGA>`__
632643
--------------------------------------------------
@@ -642,7 +653,7 @@ project for building the genetic algorithm.
642653
`pygad.torchga <https://github.com/ahmedfgad/TorchGA>`__:
643654
https://github.com/ahmedfgad/TorchGA
644655

645-
.. _header-n578:
656+
.. _header-n600:
646657

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

662-
.. _header-n582:
673+
.. _header-n604:
663674

664675
Ask for Feature
665676
===============
@@ -676,7 +687,7 @@ to [email protected].
676687

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

679-
.. _header-n586:
690+
.. _header-n608:
680691

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

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

698-
.. _header-n597:
709+
.. _header-n619:
699710

700711
For More Information
701712
====================
702713

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

706-
.. _header-n599:
717+
.. _header-n621:
707718

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

728739
|image0|
729740

730-
.. _header-n610:
741+
.. _header-n632:
731742

732743
Tutorial: Introduction to Genetic Algorithm
733744
-------------------------------------------
@@ -746,7 +757,7 @@ which is available at these links:
746757

747758
|image1|
748759

749-
.. _header-n620:
760+
.. _header-n642:
750761

751762
Tutorial: Build Neural Networks in Python
752763
-----------------------------------------
@@ -766,7 +777,7 @@ available at these links:
766777

767778
|image2|
768779

769-
.. _header-n630:
780+
.. _header-n652:
770781

771782
Tutorial: Optimize Neural Networks with Genetic Algorithm
772783
---------------------------------------------------------
@@ -786,7 +797,7 @@ available at these links:
786797

787798
|image3|
788799

789-
.. _header-n640:
800+
.. _header-n662:
790801

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

813824
|image4|
814825

815-
.. _header-n653:
826+
.. _header-n675:
816827

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

832843
|image5|
833844

834-
.. _header-n663:
845+
.. _header-n685:
835846

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

860-
.. _header-n678:
871+
.. _header-n700:
861872

862873
Contact Us
863874
==========

docs/source/conf.py

+1-1
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.10.1'
25+
release = '2.10.2'
2626

2727
master_doc = 'index'
2828

0 commit comments

Comments
 (0)