If you haven't read this article on the inner workings of fully-connected neural networks I recommend reading it now. Or you can watch the video below. They describe the type of layers we are going to be building for our framework.
Each layer in our neural network will have a number of input nodes, a number of output nodes, and weights connecting all the inputs to all the outputs. They will also have a nonlinear squashing function. We'll use the same one throughout for simplicity.
Here is all the code we've written up to this point. As a warning, my code as a few extra lines that turned out to be unnecessary in the final project. You can safely ignore them.
5 comments