Skip to content

Commit 2776734

Browse files
authored
Fix bug when crossover_probability is used.
Bug fix in applying the crossover operation when the `crossover_probability` parameter is used. Thanks to Eng. Hamada Kassem, RA/TA, Construction Engineering and Management, Faculty of Engineering, Alexandria University, Egypt: https://www.linkedin.com/in/hamadakassem
1 parent 84f40a2 commit 2776734

File tree

1 file changed

+46
-33
lines changed

1 file changed

+46
-33
lines changed

docs/source/Footer.rst

Lines changed: 46 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
.. _header-n293:
1+
.. _header-n298:
22

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

6-
.. _header-n295:
6+
.. _header-n300:
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-n300:
18+
.. _header-n305:
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-n311:
38+
.. _header-n316:
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-n322:
64+
.. _header-n327:
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-n337:
100+
.. _header-n342:
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-n342:
110+
.. _header-n347:
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-n355:
144+
.. _header-n360:
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-n370:
169+
.. _header-n375:
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-n380:
207+
.. _header-n385:
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-n408:
303+
.. _header-n413:
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-n417:
321+
.. _header-n422:
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-n441:
380+
.. _header-n446:
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-n446:
390+
.. _header-n451:
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-n451:
400+
.. _header-n456:
401401

402402
PyGAD 2.8.0
403403
-----------
@@ -407,7 +407,20 @@ 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-n586:
410+
.. _header-n597:
411+
412+
PyGAD 2.8.1
413+
-----------
414+
415+
Release Date: 3 October 2020
416+
417+
1. Bug fix in applying the crossover operation when the
418+
``crossover_probability`` parameter is used. Thanks to `Eng. Hamada
419+
Kassem, Research and Teaching Assistant, Construction Engineering and
420+
Management, Faculty of Engineering, Alexandria University,
421+
Egypt <https://www.linkedin.com/in/hamadakassem>`__.
422+
423+
.. _header-n596:
411424

412425
PyGAD Projects at GitHub
413426
========================
@@ -417,7 +430,7 @@ https://pypi.org/project/pygad. PyGAD is built out of a number of
417430
open-source GitHub projects. A brief note about these projects is given
418431
in the next subsections.
419432

420-
.. _header-n453:
433+
.. _header-n463:
421434

422435
`GeneticAlgorithmPython <https://github.com/ahmedfgad/GeneticAlgorithmPython>`__
423436
--------------------------------------------------------------------------------
@@ -428,7 +441,7 @@ GitHub Link: https://github.com/ahmedfgad/GeneticAlgorithmPython
428441
is the first project which is an open-source Python 3 project for
429442
implementing the genetic algorithm based on NumPy.
430443

431-
.. _header-n456:
444+
.. _header-n466:
432445

433446
`NumPyANN <https://github.com/ahmedfgad/NumPyANN>`__
434447
----------------------------------------------------
@@ -442,7 +455,7 @@ neural network without using a training algorithm. Currently, it only
442455
supports classification and later regression will be also supported.
443456
Moreover, only one class is supported per sample.
444457

445-
.. _header-n459:
458+
.. _header-n469:
446459

447460
`NeuralGenetic <https://github.com/ahmedfgad/NeuralGenetic>`__
448461
--------------------------------------------------------------
@@ -455,7 +468,7 @@ projects
455468
`GeneticAlgorithmPython <https://github.com/ahmedfgad/GeneticAlgorithmPython>`__
456469
and `NumPyANN <https://github.com/ahmedfgad/NumPyANN>`__.
457470

458-
.. _header-n462:
471+
.. _header-n472:
459472

460473
`NumPyCNN <https://github.com/ahmedfgad/NumPyCNN>`__
461474
----------------------------------------------------
@@ -467,7 +480,7 @@ convolutional neural networks using NumPy. The purpose of this project
467480
is to only implement the **forward pass** of a convolutional neural
468481
network without using a training algorithm.
469482

470-
.. _header-n465:
483+
.. _header-n475:
471484

472485
`CNNGenetic <https://github.com/ahmedfgad/CNNGenetic>`__
473486
--------------------------------------------------------
@@ -479,7 +492,7 @@ convolutional neural networks using the genetic algorithm. It uses the
479492
`GeneticAlgorithmPython <https://github.com/ahmedfgad/GeneticAlgorithmPython>`__
480493
project for building the genetic algorithm.
481494

482-
.. _header-n468:
495+
.. _header-n478:
483496

484497
Submitting Issues
485498
=================
@@ -496,7 +509,7 @@ is not working properly or to ask for questions.
496509
If this is not a proper option for you, then check the **Contact Us**
497510
section for more contact details.
498511

499-
.. _header-n472:
512+
.. _header-n482:
500513

501514
Ask for Feature
502515
===============
@@ -513,7 +526,7 @@ to ahmed.f.gad@gmail.com.
513526

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

516-
.. _header-n476:
529+
.. _header-n486:
517530

518531
Projects Built using PyGAD
519532
==========================
@@ -532,15 +545,15 @@ Within your message, please send the following details:
532545

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

535-
.. _header-n487:
548+
.. _header-n497:
536549

537550
For More Information
538551
====================
539552

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

543-
.. _header-n489:
556+
.. _header-n499:
544557

545558
Tutorial: Implementing Genetic Algorithm in Python
546559
--------------------------------------------------
@@ -564,7 +577,7 @@ good resource to start with coding the genetic algorithm.
564577

565578
|image0|
566579

567-
.. _header-n500:
580+
.. _header-n510:
568581

569582
Tutorial: Introduction to Genetic Algorithm
570583
-------------------------------------------
@@ -583,7 +596,7 @@ which is available at these links:
583596

584597
|image1|
585598

586-
.. _header-n510:
599+
.. _header-n520:
587600

588601
Tutorial: Build Neural Networks in Python
589602
-----------------------------------------
@@ -603,7 +616,7 @@ available at these links:
603616

604617
|image2|
605618

606-
.. _header-n520:
619+
.. _header-n530:
607620

608621
Tutorial: Optimize Neural Networks with Genetic Algorithm
609622
---------------------------------------------------------
@@ -623,7 +636,7 @@ available at these links:
623636

624637
|image3|
625638

626-
.. _header-n530:
639+
.. _header-n540:
627640

628641
Tutorial: Building CNN in Python
629642
--------------------------------
@@ -649,7 +662,7 @@ good resource to start with coding CNNs.
649662

650663
|image4|
651664

652-
.. _header-n543:
665+
.. _header-n553:
653666

654667
Tutorial: Derivation of CNN from FCNN
655668
-------------------------------------
@@ -668,7 +681,7 @@ which is available at these links:
668681

669682
|image5|
670683

671-
.. _header-n553:
684+
.. _header-n563:
672685

673686
Book: Practical Computer Vision Applications Using Deep Learning with CNNs
674687
--------------------------------------------------------------------------
@@ -694,7 +707,7 @@ Find the book at these links:
694707
.. figure:: https://user-images.githubusercontent.com/16560492/78830077-ae7c2800-79e7-11ea-980b-53b6bd879eeb.jpg
695708
:alt:
696709

697-
.. _header-n568:
710+
.. _header-n578:
698711

699712
Contact Us
700713
==========

0 commit comments

Comments
 (0)