Question: The objective is to develop a basic neural - network to classify fashion images from the Fashion - MNIST dataset. Fashion - MNIST database is
The objective is to develop a basic neuralnetwork to classify fashion images from the
FashionMNIST dataset. FashionMNIST database is a collection of images for various fashion
items, and the task is to create a neural network that can accurately classify these items into
different categories.
Data Loading and Preprocessing: In this step, load the dataset that contains x pixel
grayscale images, each representing a specific fashion item eg shoes, tshirts, etc.
Analyze the testtrain images with labels in order to identify the unique images and name
them.
Neural Network Model: The neural network will feature a simple architecture with two
to three hidden layers. One has to implement the forward pass using ReLU activation for
the hidden layers and softmax for the output layer.
Model training and Evaluation: Train the neural network using both Stochastic
Gradient Descent SGD to implement the training loop, forward pass, and
backpropagation. After training, assess the model's performance on the test set, using
accuracy as the evaluation metric.
Visualization and Improvements: Visualize the misclassified examples and report their
numbers for each category. Additionally, explore at least improvements such as tuning
parameters like a epochs and batchsize, b modifying the model architecture and
activation function, and c employing advanced optimization Adam optimizer or more
techniques.
Regularization: Now retrain separate ML models using L and L regularizers in the
loss function respectively. Make accuracy plots for no regularization, L and L Could
you provide insights into which model performs better and your reasoning behind the
conclusion? Note: All models should have the same architecture
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
