Vectorized Forward and Backward Pass in a Simple Neural Network

This notebook verctorizes the derivations in my previous post, for a simple neural network. Vecotization significantly boosts performance, since NN calculations are heavily parallel, which is why GPUs are heavily utilized in ML.




Enjoy Reading This Article?

Here are some more articles you might like to read next:

  • Forward and Backward Pass in a Simple Neural Network
  • Posting my solutions to Mathematics for Machine Learning book
  • Probability Theory
  • How to publish a jupyter notebook on Github pages with Jekyll
  • Gaussian process regression introduction