In the last chapter, backpropagation was used to solve the XOR operator problem. In this section, you will see how a genetic algorithm, the TrainingSetNeuralGeneticAlgorithm class, can be used to train for the XOR operator. This version of the XOR solver can be seen in Listing 6.2.
Listing 6.2: XOR with a Genetic Algorithm
Calais Document Category: