Skip to content

About

Neural Network from scratch (Part of CMSC498L - Introduction to Deep Learning)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Neural Network from scratch

Packagist

Author

Arpit Aggarwal

Introduction to the Project

A two-layer neural network for classifying cats vs non-cats. The neural network is built using numpy library where the image is flattened to form the input layer and the hidden layer has 14 neurons and the output layer has one neuron predicting whether the input image is a cat or a non-cat.

Results

The optimal performance was acheived using hyperparameters, learning rate = 0.003 and epochs = 7000. The results obtained using these hyperparameters is given below:

Training Loss = 0.047
Testing Accuracy = 76%

Software Required

To run the .py files, use Python 3. Standard Python 3 libraries like numpy is used.

Credits

The following links were helpful for this project:

  1. https://towardsdatascience.com/how-to-build-your-own-neural-network-from-scratch-in-python-68998a08e4f6
  2. https://machinelearningmastery.com/implement-backpropagation-algorithm-scratch-python/

About

Neural Network from scratch (Part of CMSC498L - Introduction to Deep Learning)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages