simple-neural-network icon indicating copy to clipboard operation
simple-neural-network copied to clipboard

Error on testing array [0,0,0]

Open reidjason opened this issue 4 years ago • 0 comments

Hi,

I wanted to preface with saying thank you for the wonderful tutorial and guide, I learned alot. However, I noticed that the neural network output 0.5, when the input array is [0,0,0]. Arguably, since x1 is 0, the output should be close to 0 rather than at the midpoint between 0 and 1. Upon further thought, I recognized that this issue might be stemming from the fact that sigmoid(0) will always return 0.5. However, I would love to build on this, yet there is a vital error.

Thanks

reidjason avatar Dec 05 '20 19:12 reidjason