Skip to content

extremq/neural-network-number-recognizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MNIST dataset neural network

This neural network is made for the MNIST dataset which contains 60,000 training and 10,000 testing images of handwritten digits.

The dataset.

Dataset

You can find the MNIST dataset here.

Accuracy

These are two benchmarks ran on my machine.

No GPU was used, it should be interesting to see the training time when a GPU is used.

  • 97.75% (12 minutes):
    • 20 epochs
    • 0.02 learning rate
    • 300 hidden nodes
  • 97.13% (4 minutes):
    • 5 epochs
    • 0.1 learning rate
    • 300 hidden nodes

Try your own handwriting

Draw on a 28x28 png. Make sure to center the digit and make it averagely sized.

three.png is my example, you can replace it.

This neural network wasn't trained on preprocessed images (moved, rotated, sharpened, blurred, etc). An example of my own handwriting

About

A neural network made from scratch based on Tariq Rashid's book.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published