Skip to main content

A simple digits recognition neural network

Project description

Convolutional Neural Network using MNIST dataset for Digit Recognition

Official repository: https://github.com/MartinBraquet/ml-digits-recognition.

Test online: https://martinbraquet.com/index.php/solo_page_digits_recognition.

Alt Text

Installation

pip install -r requirements.txt

Documentation

Convolutional neural network visualization.

nn_visualization.ipynb

Alt Text

Alt Text

Training

Train the model and save it as model.pt.

ml_digits_recognition_training.ipynb

Accuracy vs epochs.

Alt Text

Loss vs epochs.

Alt Text

Test

Test in Jupiter Notebook. The model can be loaded from the training above in model.pt or from the default precise model in model_precise.pt.

ml_digits_recognition_test.ipynb

Test in Python.

python user_input_drawing.py

Tools

Draw a digit and save it as a PNG file.

user_input_drawing.ipynb

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ml_digits_recognition-0.0.2.tar.gz (56.0 kB view hashes)

Uploaded Source

Built Distribution

ml_digits_recognition-0.0.2-py3-none-any.whl (55.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page