DEV Community

Discussion on: Creating of neural network using JavaScript in 7 minutes!

Collapse
 
edo9k profile image
Eduardo França • Edited

Hi, I put the code on a RunKit notebook, for anyone who wants to see it running without having to install anything on their computer: runkit.com/edo9k/tiny-rnn

For some reason I kept getting an error in the train function, the error was output_layer is not a function, so I just wrapped the output_layer variable in an arrow function. Now it's running.

Great article, thank you.

Some comments have been hidden by the post's author - find out more