Git Product home page Git Product logo

mnist-web-sketch's Introduction

MNIST-web-sketch

Recognises handwritten digits by utilizing a classical neural network

The neural network used for the sketch is a basic 784 x 30 x 10 network, trained on the 50.000 handwritten digits from the MNIST dataset (http://yann.lecun.com/exdb/mnist/). The performance of the network is optimized by L2 regularization and squashed weights initialization. This makes the network be 96% accurate. Even though neural networks built on MNIST can now achieve nearly 100% classification accuracy, I chose to stick to this simple architecture to test my hypothesis.

Demo

DONE

  • Draw a digit
  • Run the canvas image on network -> make a guess
  • Ask for feedback (get correct digit)
  • See the list of guesses according to their probabilities

Ideas to improve on:

  1. Sensitivity to the position/size of digit

    • as the network is trained on the preprocessed MNIST digits, the inputted drawing won't necessarily look the same as the training data
    • this makes the network see other digits based on the position/size of your drawing
  2. Better data manipulation techniques

    • see the manipulated data file for my attempt to modify the MNIST data and re-train my network.
    • accuracy went down to 50% when data manipulation was carried out in both training and validation
    • to figure out: what ratio of manipulated/original data should be used
  3. Store the feedback image + label in database

  4. Re-train network by the inputted digits (automatically?)

mnist-web-sketch's People

Contributors

dorajam avatar

Watchers

James Cloos 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.