tablekat / simple-neural-network

Simple, fun neural network in NodeJS with SGD learning algorithm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

simple nodejs neural network

... with Stochastic Gradient Descent.

Neural network stuff: src/nn
Using it on MNIST handwriting number recognition: src/mnist

Success threshold and the learning rate (eta) are defined in src/mnist/index.ts, play with those if you want. The most interesting I've found is threshold: 0.05, eta: 2.

Referred to

This book thing to figure out the SGD related stuff. Converting from gross untyped python code to a language with typing is really annoying.

About

Simple, fun neural network in NodeJS with SGD learning algorithm


Languages

Language:JavaScript 51.0%Language:TypeScript 47.3%Language:Python 1.8%