December 2019
Intermediate to advanced
368 pages
11h 10m
English
This function evaluates the performance of the detector ANN against two given visual objects—one for each side of the retina space. For the complete source code, please refer to the def _evaluate(self, net, left, right, depth, debug=False) function defined at https://github.com/PacktPublishing/Hands-on-Neuroevolution-with-Python/blob/master/Chapter8/retina_environment.py.
The source code of the function has the following essential parts:
inputs = left.get_data() + right.get_data() inputs.append(0.5) # the bias net.Input(inputs)
The inputs
Read now
Unlock full access