4.2.1. Fitness function
Fitness function generates the fitness value providing a
performance measure of the problem considered. Different
fitness functions promote different GA’s behaviors.
In this work, the fitness function represents the sum
accuracy of all the test samples and can be defined as
follows