Skip to content

Implementing Deep Learning for Handwritten Digit Recognition from scratch

License

Notifications You must be signed in to change notification settings

PritK99/MNIST-Digit-Recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MNIST-Digit-Recognition

Table of Contents

About

Implementing Deep Learning for Handwritten Digit Recognition from scratch

File Structure

👨‍💻MNIST-Digit-Recognition
 ┣ 📂assets                            // Contains all the reference gifs, results images
 ┃ ┣ 📂results
 ┣ 📂data                              // MNIST dataset
 ┃ ┣ 📄mnist.pkl.gz
 ┣ 📂documentation                     // Documentation
 ┣ 📄neural_network.py
 ┣ 📄README.md

Neural Networks

Method 1: Initialing parameters with zeros

Results

Initialing parameters with zeros

Initialing parameters with zeros

Method 2: Initialing parameters randomly

Results

Initialing parameters randomly

Initialing parameters randomly

Method 3: Initialing parameters using He initialization

Results

Initialing parameters using He initialization

Initialing parameters using He initialization

Method 4: Implementing L2 regularization with He initialization

Results

Implementing L2 regularization with He initialization

Implementing L2 regularization with He initialization

Method 5: Implementing dropout regularization with He initialization

Results

Implementing dropout regularization with He initialization

Implementing

Getting Started

Prerequisites

To download and use this code, the following python libraries are required:

  • numpy
  • matplotlib
  • pickle
  • gzip

Installation

Clone the project by typing the following command in your Terminal/CommandPrompt

git clone https://github.com/PritK99/MNIST-Digit-Recognition

Navigate to the MNIST-Digit-Recognition folder

cd MNIST-Digit-Recognition

Usage

Once the requirements are satisfied, use the following commands to run the respective python file:

python <name_of_the_file.py>

Contributors

Acknowledgements and Resources

License

MIT License

About

Implementing Deep Learning for Handwritten Digit Recognition from scratch

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published