Simple Neural Network can't learn XOR

前端 未结 3 1086
鱼传尺愫
鱼传尺愫 2021-02-06 11:17

I\'m trying to learn about neural networks and coded a simple, back-propagation, neural network that uses sigmoid activation functions, random weight initialization, and learnin

3条回答
  •  名媛妹妹
    2021-02-06 12:17

    I had the same problem and the answer is - use higher values of learning speed. I use the following lSpeed = 12.8 / epoch and about 100 epoches for the NN with phi(x) = x/(1 + |x|)

    Possible now your NN learn speed just do not have enough "power" to make the job.

提交回复
热议问题