Fully Connected vs Convolutional Neural Networks

To know more about the basic fundamentals related to CNN, check out my earlier blogs on Convolutions and Pooling .

In this post, we will cover the differences between a Fully connected neural network and a Convolutional neural network. We will focus on understanding the differences in terms of the model architecture and results obtained on the MNIST dataset.

Dataset Used

  • MNIST (Modified National Institute of Standards and Technology database) dataset of 60,000 28×28 grayscale images of the 10 digits, along with a test set of 10,000 images.
  • It is a subset of a larger set available from NIST. The digits have been size-normalized and centered in a fixed-size image.
  • It is a good database for people who want to try learning techniques and pattern recognition methods on real-world data while spending minimal efforts on preprocessing and formatting.

Model Implementation

  • Model Architecture

  • Model Summary

  • Model Accuracy

  • Accuracy on Test data

  • Model Architecture

  • Model Summary

  • Model Accuracy

  • Accuracy on the Test dataset

References :