Implementing a feed forward fully connected Neural Network class in python from scratch. The class using the MNIST dataset