Unable to solve the XOR problem with just two hidden neurons in Python
问题 I have a small, 3 layer, neural network with two input neurons, two hidden neurons and one output neuron. I am trying to stick to the below format of using only 2 hidden neurons. I am trying to show how this can be used to behave as the XOR logic gate, however with just two hidden neurons I get the following poor output after 1,000,000 iterations! Input: 0 0 Output: [0.01039096] Input: 1 0 Output: [0.93708829] Input: 0 1 Output: [0.93599738] Input: 1 1 Output: [0.51917667] If I use three