MNIST Digits Feedforward Neural Network

Initial analysis

Since we are creating and evaluating several neural network models, with different hyperparameters, we define first some functions, for creating and training models and plotting their metrics.

We start by training on a small sample of our entire train dataset. Using only 1,000 values for training, we can show the overfitting effect.
Values applied: mini batch = 10 and 200 epochs.