Handwritten Digit Predictor(MNIST Dataset)
Simple neural network to predict handwritten digits using Tensorflow and famous MNIST dataset
What is a Neural Network ?
A neural network (also called an ANN or an artificial neural network) is a sort of computer software, inspired by biological neurons. Biological brains are capable of solving difficult problems, but each neuron is only responsible for solving a very small part of the problem. Similarly, a neural network is made up of cells that work together to produce a desired result, although each individual cell is only responsible for solving a small part of the problem. This is one method for creating artificially intelligent programs.
The MNIST Dataset
Our model consists of 6 layers:
- Input (28x28 pixel image)
- Dense(Relu activation)
- Dropout (0.2)
- Dense(Relu activation
- Dropout (0.4)
- Dense (Softmax activation)
Draw and classify digits in Playground Canvas
**Run draw and Predict ** on your Machine.
Creating and Training The Model
- The data was preprocessed using keras and dataset api of Tensorflow.
- The model was created and trained using tensorflow 2.0.
- The adam optimizer is used to reduce the cost.
Run the Jupyter notebook to train the network on your own device
Your feedback is always appreciated and welcomed. If you find a bug in the source code, you can help me by submitting an issue. Even better you can submit a Pull Request with a fix :)
This project is released under the MIT License