From 8fbae2d27547c211a4f8d718d2ef1737ab897a28 Mon Sep 17 00:00:00 2001 From: Ahmed Gad Date: Wed, 31 Jan 2024 00:30:46 -0500 Subject: [PATCH] Fix link --- docs/source/pygad.rst | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/docs/source/pygad.rst b/docs/source/pygad.rst index 174c62e..83c9cfa 100644 --- a/docs/source/pygad.rst +++ b/docs/source/pygad.rst @@ -119,7 +119,7 @@ The ``pygad.GA`` class constructor supports the following parameters: function can be passed starting from `PyGAD 2.16.0 `__. Check the `User-Defined Crossover, Mutation, and Parent Selection - Operators `__ + Operators `__ section for more details about building a user-defined parent selection function. @@ -1037,11 +1037,10 @@ Let's discuss how to do each of these steps. Preparing the ``fitness_func`` Parameter ----------------------------------------- -Even though some steps in the genetic algorithm pipeline can -work the same regardless of the problem being solved, one critical step -is the calculation of the fitness value. There is no unique way of -calculating the fitness value and it changes from one problem to -another. +Even though some steps in the genetic algorithm pipeline can work the +same regardless of the problem being solved, one critical step is the +calculation of the fitness value. There is no unique way of calculating +the fitness value and it changes from one problem to another. PyGAD has a parameter called ``fitness_func`` that allows the user to specify a custom function/method to use when calculating the fitness.