Skip to content

liu-bodong/ANN-Number-Recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ANN-Number-Recognition

A simple artificial neural network (ANN) implementation for recognizing handwritten digits using the MNIST dataset.

Project Structure

ANN-Number-Recognition/
├── model.py             # Neural network model implementation
├── utils.py            # Helper functions
├── train.py            # Training script
├── test.py             # Testing and visualization
├── requirements.txt    # Python dependencies
└── README.md           # Project documentation

Installation

pip install -r requirements.txt

Usage

Training the network

python train.py

This will train the model on the MNIST dataset and save the parameters in a file defaultly named as mnist.pth.

Testing / Inference

python test.py

This will evaluate the model on test samples and visualize predictions.

Acknowledgements

  • MNIST dataset from Yann LeCun's website

License

This project is licensed under the MIT License.

About

Artificial Neural Network for Handwritten Number Recognition

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages