https://github.com/saswatamcode/digit_classifier
A web app which uses TensorFlow.js to train a model on the MNIST dataset and then classify handwritten digits.
https://github.com/saswatamcode/digit_classifier
javascript machine-learning tensorflow tfjs
Last synced: 12 months ago
JSON representation
A web app which uses TensorFlow.js to train a model on the MNIST dataset and then classify handwritten digits.
- Host: GitHub
- URL: https://github.com/saswatamcode/digit_classifier
- Owner: saswatamcode
- License: mit
- Created: 2020-07-11T17:16:24.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-07-11T17:33:29.000Z (over 5 years ago)
- Last Synced: 2025-01-25T16:27:36.777Z (about 1 year ago)
- Topics: javascript, machine-learning, tensorflow, tfjs
- Language: JavaScript
- Homepage: https://digitclassifier.netlify.app/
- Size: 103 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://opensource.org/licenses/MIT)
[](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)
[](https://GitHub.com/Naereen/ama)
[](https://code.visualstudio.com/)
[](https://GitHub.com/saswatamcode/digit_classifier/network/)
[](https://GitHub.com/saswatamcode/digit_classifier/stargazers/)
[](https://GitHub.com/saswatamcode/digit_classifier/issues/)
[](https://github.com/ellerbrock/open-source-badges/)
[](https://app.netlify.com/sites/digitclassifier/deploys)
# Handwritten Digit Classifier
A web app which uses TensorFlow.js to train a model on the MNIST dataset and then classify handwritten digits.
Also uses tfjs-vis to visualize training. Currently only works for desktop browsers.
## Screenshot

## To Run
- Clone into repo
- Run `npm i serve` or some other alternative
- Visit `localhost:5000` and wait for training to complete
- Draw your digits and see them get classified
A demo is hosted [here](https://digitclassifier.netlify.app/).