I made neural network to learn XOR gate pattern using backpropagation learning method.
XOR Gate Pattern:
A = 0
B = 0
A XOR B = 0
A = 0
B = 1
A XOR B = 1
A = 1
B = 0
A XOR B = 1
A = 1
B = 1
A XOR B = 0
Java code for this neural network can be found here:
https://github.com/d-3-nny/AI-repo