Question: This summative assignment aims to implement a neural network to classify images in the Fashion MNIST dataset. You will start by using Stochastic Gradient Descent
This summative assignment aims to implement a neural network to classify images in the Fashion MNIST dataset. You will start by using Stochastic Gradient Descent SGD sigmoid activation function and the crossentropy error function. Then, when you have some results, compare with a number of suggested alternatives.
The class in the MNIST dataset are as follows:
TshirttopTrouserPulloverDressCoatSandalShirtSneakerBagAnkle boot
Part : Platform preparation, reading data and feature engineering and training
Download or read the dataset here or from other online sources that you know:Fashion MNIST KaggleYou will be asked to create an account, we suggest using your Liverpool account
Split the data to train and test. Feel free to use the Keras code facilities or use your coding. You can view the images to obtain a clearer understanding of the data.
Part : Define the model and parameters and start training
Use Stochastic Gradient Descent SGD optimizer, the Sigmoid Activation function, and the crossentropy error function, with a two hidden layer fully connected neural network.
Start training the network with epoch and batch size
Obtain the train loss and train accuracy versus test loss and test accuracy.
Part : Repeat Part implementing the following:
Replace the Sigmoid Activation function with ReLu and examine the results, explaining why they are better or worse.
Use Dropout regularization and briefly explain the changes to the outcomes.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
