Deep learning project that classifies handwritten digits (0β9) using neural networks and CNNs on the MNIST dataset.
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
pip install pandas numpy matplotlib seaborn tensorflow scikit-learngit clone https://github.com/Laithwm/Handwritten-Digit-Recognition.git
cd Handwritten-Digit-Recognition
jupyter notebook notebooks/handwritten_digit_recognition.ipynb- 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.
- 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