The goal of this small project is to implement a simple neural network learning algorithm to be able to recognize digits drawn by a user on a 50x50 canvas.
Temporarily hosted on: http://ml.vjaouen.com/
Prerequirements:
- Nodejs (https://nodejs.org/en/)
- Yarn (https://yarnpkg.com/)
- PostgreSQL
- Clone repository locally
- Run
yarn install
- Create
digitml
database and run migrations withyarn knex migrate:latest --knexfile ./knexfile.js
- Run
yarn start
- Open http://localhost
Just run yarn learn
.
It will iterate on lambdas from 1 to 10. Change the parameter LEARN_CHUNK
to the ratio of learning data/cross-validation data as desired.
Run yarn compute-precision