Skip to content

Latest commit

Β 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 Handwritten Digit Recognition (MNIST)

Deep learning project that classifies handwritten digits (0–9) using neural networks and CNNs on the MNIST dataset.


πŸ“ Project Structure

Handwritten-Digit-Recognition/
β”œβ”€β”€ data/
β”‚   β”œβ”€β”€ mnist_train.csv
β”‚   └── mnist_test.csv
β”œβ”€β”€ notebooks/
β”‚   └── handwritten_digit_recognition.ipynb
β”œβ”€β”€ models/
β”‚   └── mnist_cnn_model.h5
β”œβ”€β”€ images/
β”‚   β”œβ”€β”€ training_plot.png
|   β”œβ”€β”€ training_plot2.png
β”‚   β”œβ”€β”€ confusion_matrix.png
β”‚   └── predictions.png
└── README.md

βš™οΈ Setup

pip install pandas numpy matplotlib seaborn tensorflow scikit-learn

πŸš€ Run Notebook

git clone https://github.com/Laithwm/Handwritten-Digit-Recognition.git
cd Handwritten-Digit-Recognition
jupyter notebook notebooks/handwritten_digit_recognition.ipynb

πŸ“Š Results

  • Dense Neural Network β†’ ~99.2% accuracy
  • CNN Model β†’ 99.33% test accuracy
  • Most errors occurred between visually similar digits (e.g., 4 vs 9).
  • Precision, recall, and F1-scores were all above 0.99.

🧠 Skills

  • Data preprocessing & normalization
  • Neural network & CNN modeling
  • Model evaluation & visualization

Author: Laith Waqas

Convolutional architectures are crucial for image-based classification tasks, as evidenced by the CNN model's overall superior ability to capture local image features.

πŸ“ Dublin, Ireland
πŸ’Ό LinkedIn

About

Deep learning model for handwritten digit classification with a CNN achieving 99.33% test accuracy on MNIST.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages