I want to model a NN that solves the XOR problem, so I know that a solution to
x1 xor x2 = (x1 or x2) and not(x1 and x2)
so I have the following models of NN:
The problem that I have is when I want to connect these partial neural networks, I made a solution like this:
but I dont get the values of the XOR function. I have seen a solution using these set of neural networks, but they obtain the values of x1 XNOR x2, so they use:
x1 and x2
not x1 and not x2
and at the end they join both values with the NN that represents the OR.
The question that I have is how to join my partial neural networks to have a neural network of one hidden layer that uses the forward propagation algorithm. The activation function is the sigmoid one.
Any help?