Giter Site home page Giter Site logo

aobject / js-neural-network-digit-reader Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.68 MB

A JavaScript app that allows users to draw digits, then a neural network guesses what digit has been drawn.

License: MIT License

HTML 0.03% JavaScript 99.97% CSS 0.01%

js-neural-network-digit-reader's Introduction

js-neural-network-digit-reader

// APP DESCRIPTION // Digit Reader is a web-based handwriting reader designed to read the digit drawn and returns an educated guess. The app uses a custom JavaScript neural network algorithm. Behind the scenes, the code creates a neural network object embedded with training knowledge. As a result, the user can instantly query the network with no training required.

The neural network training is done beforehand and exported as a csv file that holds all the optimal neural network link weights that load with the app.

The neural network algorithm uses three layers: there are 784 input nodes, 100 hidden nodes, and 10 output nodes. The network is trained using the MNIST data set.

// LIVE DEMO ONLINE // You can see an online demo at http://www.obj.nyc/#/neural-network-digit-reader/

// LIBRARIES // The code uses the p5 and scribble libraries for the interface. The core of the JavaScript neural network code is ported and addapted for the app from the Python code in the book Make Your Own Neural Network. p5 is online at https://p5js.org/ scribble is at https://p5js.org/libraries/ Make Your Own Neural Network can be purchased at https://www.amazon.com/Make-Your-Own-Neural-Network-ebook/dp/B01EER4Z4G

// FOLDER STRUCTURE // The nnRead folder holds the JavaScript app for reading digits.

The nnLearn folder holds the JavaScript app for the neural network learning proccess. The network is setup to work with the MNIST database, which is online at http://yann.lecun.com/exdb/mnist/ The output is two csv files used by the Digit Reader app in the nnRead folder.

js-neural-network-digit-reader's People

Contributors

aobject avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.