@@ -1039,7 +1039,7 @@ Let's discuss how to do each of these steps.
10391039Preparing the ``fitness_func `` Parameter
10401040-----------------------------------------
10411041
1042- Even there are some steps in the genetic algorithm pipeline that can
1042+ Even though some steps in the genetic algorithm pipeline can
10431043work the same regardless of the problem being solved, one critical step
10441044is the calculation of the fitness value. There is no unique way of
10451045calculating the fitness value and it changes from one problem to
@@ -1060,14 +1060,14 @@ optimization problem is single-objective or multi-objective.
10601060 ``pygad.GA `` class.
10611061
10621062- If the fitness function returns a ``list ``, ``tuple ``, or
1063- ``numpy.ndarray ``, then the problem is single -objective. Even if
1063+ ``numpy.ndarray ``, then the problem is multi -objective. Even if
10641064 there is only one element, the problem is still considered
10651065 multi-objective. Each element represents the fitness value of its
10661066 corresponding objective.
10671067
10681068Using a user-defined fitness function allows the user to freely use
1069- PyGAD to solve any problem by passing the appropriate fitness
1070- function/method. It is very important to understand the problem well for
1069+ PyGAD solves any problem by passing the appropriate fitness
1070+ function/method. It is very important to understand the problem well before
10711071creating it.
10721072
10731073Let's discuss an example:
0 commit comments