How to Create a Neural Network in JavaScript [video]
scrimba.com
scrimba.com
But if you still are after some code here is mine: http://htmlpreview.github.io/?https://github.com/aguaviva/Ar...
But as someone who has been taking video courses and seen youtube videos, somehow this was the final step I needed to get started on my idea. It was easy to follow along, the code was nice and clean (most importantly without convoluted variable naming), and the immediately-interactive code made it quick to test a few things, rather than having to fork a project, NPM install a thousand dependencies and then actually do some coding.
Happy to answer any questions people might have :)
The basic idea behind Scrimba is that we record events instead of pixels. So what you're seeing when you're watching a Scrimba screencast is simply a re-creation of what the creator did when creating the screencast (which is done in-browser).
Even the interactions with the live preview are recorder, through a DOM-recorder we've built.
This opens up for tons of possibilities, including enabling the viewer to interact with the code.
We will add support for server side languages (e.g. Python, Ruby, Node) in the future. However, it's not at the top of our list, as there are several core things we need to fix. Once we have a timeline for that, it'll surely be shared on our Gitter channel:
https://gitter.im/scrimba_community/Lobby?utm_source=share-l...
Next up on our feature list is to make the creation process a lot easier, by enabling the creator to edit the recording after it's done. Will likely be launched next week :)
switch your imgur to https to fix the SSL for your streamcast. looks really cool though!
Does anybody have any good resources for that?
https://www.amazon.com/Make-Your-Own-Neural-Network-ebook/dp...
NN as a concept is hard since it is taught with math, however, I found his book to be easier than any other books I've read as it uses minimal math and down to earth explanations. Since NNs can implemented in most languages, I wish that a universal NN language could be developed that anyone could use vs having to learn it from other languages.
It works great if you train it with all possible combinations, but if you leave something out, my experience is it will make very poor predictions.
Is this typical for this level of task?
For my own test project I only did 10k iterations/.3 learning rate on a 16 input, 32 hidden, and 1 output neuron network and my early tests on my "non-math" problem seemed good.
Here are some other neural networks in JS:
https://github.com/harthur/brain: Neural Networks in JS
https://github.com/stevenmiller888/mind: a flexible neural network library
https://github.com/cazala/synaptic: an architecture-free neural network library for node.js and the browser
Sllightly off topic, but the Machine Learning department of the University of Tokyo has built a whole set of libraries for machine learning in Javascript: http://mil-tokyo.github.io/miljs.html
Then there's dev mindshare. So many people know JS, empowering them would add bodies to meet rising ML demand. I learned Python specifically for TensorFlow. Python's easy to learn, but like any language takes much time to master. I've mastered JS, so Python was a frustrating little reset.
All that said, this cazala/synaptic project doesn't look promising to me save as showcase. Better to focus on exposing JS APIs on existing computation-graph GPU-runnable frameworks, eg node-tensorflow (https://github.com/node-tensorflow/node-tensorflow).
Is there something you'd like to share with us, Johnanneskanybal?