Skip to content

fahadabid545/MNIST-with-ANN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Handwritten Digit Recognition using ANN (MNIST)

This project implements an Artificial Neural Network (ANN) to classify handwritten digits from the MNIST dataset. It demonstrates a simple feedforward architecture using fully connected layers.

🧠 Model Architecture

  • Input Layer: 784 neurons (28x28 pixels)
  • Hidden Layers: 2 Dense layers with ReLU activation
  • Output Layer: 10 neurons with Softmax (for 10 digit classes)
  • Loss Function: Categorical Crossentropy
  • Optimizer: Adam

πŸ“Š Results

  • Achieved ~97% accuracy on test data
  • Visualized predictions on sample images
  • Trained and evaluated with minimal preprocessing

πŸ› οΈ Technologies Used

  • Python
  • TensorFlow / Keras
  • NumPy
  • Matplotlib
  • Jupyter Notebook

πŸ“ Files

Jupyter notebook with complete code Sample output images from predictions

πŸ”— Dataset

MNIST dataset is publicly available via Keras datasets:
https://keras.io/api/datasets/mnist/

About

Built an Artificial Neural Network (ANN) from scratch to classify handwritten digits using the MNIST dataset. Achieved high accuracy on test data with dense layers and ReLU activation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors