Simple Neural Network can't learn XOR

前端 未结 3 1084
鱼传尺愫
鱼传尺愫 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:04

    If you want to consider Neuroevolution, you may check up the neuroevo gem. Run the specs to see it fit XOR in 15 iterations ([2,2,1] feed-forward network, XNES optimizer):

    https://github.com/giuse/neuroevo/blob/master/spec/solver_spec.rb

    Full disclosure: I'm the developer (hi there!).
    I just recently began published my code and am looking for feedback.

提交回复
热议问题