Neural Network Solving the XOR problem!

0,0 Dark Light 0,1

1,0 Light Dark 1,1
The exclusive-or (XOR) function is a nonlinear function that returns 0 when its two binary inputs are both 0 or both 1. It returns 1 when its binary inputs are different. The XOR cannot be represented by a linear network or a two-layer network. A deeper, 3-layer network with a nonlinear activation function can very easily represent the XOR.
In addition, you can adjust the learning rate from slow to fast::