Brain.js Network Training Pixel Array and training Error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Brain.js Network Training Pixel Array and training Error

I was working on a small brain.js pattern identification project. I tried, the project isn't working fine. Each time I run `net.run ([...<pixelarray>])`, It gives me result more than 0.93, whatever the pixel pattern is. How to solve it? In this code, you should train pixelarray 3 times and in 4th time, the pixelarray is ran by net.run () method. https://code.sololearn.com/W25U8vMJG0Zd/?ref=app

20th Jan 2020, 4:03 PM
Sarthak
Sarthak - avatar
5 Answers
+ 2
Maybe something like this? https://youtu.be/aircAruvnKk
23rd Mar 2020, 12:05 AM
Gordon
Gordon - avatar
+ 1
add an intermediate layer of Nodes.
23rd Jan 2020, 9:08 AM
Gordon
Gordon - avatar
+ 1
Gordon I updated the code, added hidden layers. Not working still
22nd Mar 2020, 3:37 PM
Sarthak
Sarthak - avatar
+ 1
I have watched that before. And not only chapter 1, but upto chapter 4
23rd Mar 2020, 10:32 AM
Sarthak
Sarthak - avatar
0
Gordon Hidden Network Layers?
22nd Mar 2020, 3:31 PM
Sarthak
Sarthak - avatar