Skip to content

About

Convolutional Neural Network (CNN) architecture for handwritten digit recognition on MNIST in PyTorch/Keras

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Handwritten Digit Recognition with Convolutional Neural Networks

Python 3.9+ Deep Learning Dataset Author


📌 Overview

This repository provides an end-to-end Convolutional Neural Network (CNN) pipeline for classification of handwritten digits (0–9) on the standard MNIST benchmark.

The project investigates the impact of network depth, convolution filter sizes, spatial subsampling (max-pooling), and dropout regularization on training stability, test accuracy, and generalization capability.


Key Components:

  • Feature Extraction: Stacked convolutional layers capturing hierarchical spatial features (low-level edges and corners progressing to stroke geometries).
  • Dimensionality Reduction: Non-overlapping max-pooling layers enforcing spatial translation invariance.
  • Overfitting Prevention: Dropout regularization to mitigate co-adaptation of hidden unit activations.
  • Diagnostics: Loss convergence curves, per-class precision/recall, and confusion matrix error analysis.

🚀 Getting Started

git clone https://github.com/dheerajkumar2005/Handwritten-Digit-Recognition-CNN.git
cd Handwritten-Digit-Recognition-CNN

pip install numpy matplotlib seaborn jupyter scikit-learn tensorflow

jupyter notebook cnn-handwritten-digit-recognition.ipynb

About

Convolutional Neural Network (CNN) architecture for handwritten digit recognition on MNIST in PyTorch/Keras

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages