Skip to content

An implementation of a deep neural network from scratch using only numpy.

Notifications You must be signed in to change notification settings

mustafaaljadery/deep-nn-scratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Deep Neural Network

An implementation of a deep nearly network with one hidden layer from scratch using only numpy. It allows you to pick the number of input, hidden, and output neurons.

Momentum optimization is also implemented for improvement of stochastic gradient descent. Activations are cached for optimization as well.

Back prop and cross-entropy loss are implemented as well.

Requirements

pip install requirements.txt

Usage

py main.py

TODO

  • Memory issues are large matrix sizes
  • Convolutional NN
  • LSTM
  • Transformers

License

All code is under an MIT license.

About

An implementation of a deep neural network from scratch using only numpy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages