Skip to content

This repository contains code for training and evaluating a neural network classifier on the MNIST dataset. The classifier is built using TensorFlow and Keras.

License

Notifications You must be signed in to change notification settings

ALI3Nass/Handwritten-Digit-Recognition-with-NN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Handwritten Digit Recognition with Neural Network

This project demonstrates handwritten digit recognition using a neural network model. The model is trained on the MNIST dataset, which consists of a large collection of labeled handwritten digits.

Requirements

  • Python 3.6+
  • TensorFlow 2.0+
  • NumPy
  • Pandas
  • Matplotlib
  • seaborn

Installation

  1. Clone the repository: git clone https://github.com/astrophile481/Handwritten-Digit-Recognition-with-NN.git
  2. Change into the project directory: cd Handwritten-Digit-Recognition-with-NN

Usage

  1. Run the Python script: python3 Model.py

  2. The script will download the MNIST dataset, preprocess the data, train the neural network model, and evaluate its performance.

  3. After the model is trained, you will be prompted to enter an index from 0 to 10000 to perform a prediction on a handwritten digit from the test set.

  4. The predicted digit and the corresponding image will be displayed on the screen.

  5. Finally, a confusion matrix will be generated, visualizing the performance of the model.

License

This project is licensed under the MIT License.

Feel free to use and modify the code as per your needs.

Acknowledgments


you can also interprete the model in the jupyter notebook by opening the notebook file

About

This repository contains code for training and evaluating a neural network classifier on the MNIST dataset. The classifier is built using TensorFlow and Keras.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published