Since 2014, I have been a part of JS1k. It has been a challenge and a great learning experience.

I will devote this post to sharing my journey through coding my last entry. But if anyone is interested, here are the links to my past entries.

And my latest,

I split this project into sections, to make sure each step made sense and worked properly.

The last thing you want to do is jump right into rolling your own neural network... please don't do that.

My goals were:

  1. Figure how to render a stylish 'X' to the screen
  2. Scale down and transform the image data to something a neural network can use for input
  3. Use an already built library to build first neural network (I used brain.js)
  4. Simplify everything as much as possible
  5. Replace NN library with simplified functions which implement forward/backward propagation
  6. Add style
Back to all posts