Brain.js example explanation | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Brain.js example explanation

Can anyone explain why the output is so, and random too https://code.sololearn.com/WKPBt58p0Sn2/?ref=app

10th May 2019, 11:10 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
1 Answer
+ 10
SPACE The Journey Begins the trained neural network gives approximate output to the problem so instead of answer 0 it gives some values near 0 and when it gives 1 on using (1,0) then it is giving near 1 value. In this link some good discussion is contained look over it. https://stackabuse.com/neural-networks-in-javascript-with-brain-js/
10th May 2019, 1:20 PM
GAWEN STEASY
GAWEN STEASY - avatar