Skip to content

Learn the different elements of a simple two layer neural network by implementing it from scratch.

Notifications You must be signed in to change notification settings

gunnarsundberg/nn-from-scratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implementing a Neural Network from Scratch

The goal of this exercise is to learn step by step the different elements of a simple two layer network by implementing it from scratch. This exercise was completed as a lab assignment in Florida Poly's Machine Learning course in Spring 2020.

Steps:

  • setup the network, namely define the number of layers and units per layer
  • initialize the parameters (w's and b's)
  • Use tanh as the activation function of the hidden layer, and sigmoid for the output layer
  • Compute the cross entropy loss
  • Implement forward and backward propagation

References

The author of the original Jupyter Notebook is Andrew Ng. This Notebook was modified by Dr. Luis Jaimes at Florida Poly for use as a lab assignment.

About

Learn the different elements of a simple two layer neural network by implementing it from scratch.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published