FASHION MNIST CLASSIFICATION
BY: TWISHA KAUL
ABSTRACT
OBJECTIVE
The objective is to identify(predict) different fashion products from given images using CNN.
The ‘target’ dataset has 10 class labels, (0 – T-shirt/top, 1 – Trouser,....9 – Ankle Boot).
From the given images, we need to classify them into one of these classes, hence, it is essentially a ‘Multi-class Classification’ problem.
INTRODUCTION
What is CNN?
• Convolutional neural networks, like neural networks, consisting of neurons with learnable weights and biases. Each neuron receives multiple inputs, takes a weighted sum over them, passes them through an activation function, and responds with an output.
• The entire network has an activation function loss and all the tips and tricks that we developed for Neural Networks also apply to Convolutional Neural Networks.
• Neural Networks, as the name suggests, is a machine learning technique that is modeled after the Brain. Structure. It consists of a network of learning units called neurons.
• These neurons learn to convert input signals (e.g. an image of a cat) into corresponding output signals (e.g. an image of a cat). cat"), which form the basis for automatic detection.
Example:
• Let’s take the example of automatic image recognition. The process of determining whether an image contains a cat, which involves an activation function. If the image resembles images of previous cats that the neurons have seen before, the tag "cat" would be shown.
• So, the more labeled images the neurons are exposed to, the better it learns to recognize other unlabeled images. We call this the process of neuron formation.
How does CNN work?
There are four layered concepts in Convolutional Neural Networks(CNN):
Each convolution filter represents a feature of interest (e.g. pixels in letters) and the convolutional neural network algorithm learns which features comprise the resulting reference (ie the alphabet).
2. Relu
Relu removes all negative values from the convolution. All positive values remain the same, but all negative values are changed to zero.
3. Pooling
In this layer, we shrink the image stack to a smaller size. The grouping takes place after passing through the activation layer. For this we implement the following 4 steps:
• Choose a window size (usually 2 or 3)
• Choose one step (usually 2)
• Step through your window through your filtered images
• Take in each window the maximum value
METHODOLOGY
DATA PRE-PROCESSING
BUILDING FIRST CNN
TEST AND EVALUATE
SAVING
BUILD 2 COMPLEX CNN
1st complex model
2nd complex model
CODE
CONCLUSION
FIRST CNN MODEL
2 COMPLEX CNN
ACCURACY: 91%
ACCURACY: 96%(midst) & 92%(final)
THE END
THANK YOU!