A vectorized implementation of fully-connected neural network(s) in NumPy
take_gradient_step_on_minibatch
of class NeuralNetwork
(see src/neural_network.py
)src/
contains the implementation of neural networkssrc/neural_network.py
contains the actual implementation of the NeuralNetwork
class (including vectorized backpropagation code)src/activations.py
and src/losses.py
contain implementations of activation functions and losses, respectivelysrc/utils.py
contains code to display confusion matrixmain.py
contains driver code that trains an example neural network configuration using the NeuralNetwork
classgit clone
method (run the script to download data; ensure python-mnist
directory exists inside the root directory of this project)