Skip to content

Comparing the performance of MLP (multilayer perceptron) and CNN (convolutional neural network) on USPS dataset and visualizing it via TensorBoard.

Notifications You must be signed in to change notification settings

Manaswi-Vichare/MLP-vs-CNN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

MLP-vs-CNN

Comparing the performance of MLP and CNN on USPS dataset and visualizing it via TensorBoard.

Language used: Python

Libraries used: torch, torchvision, sklearn

Dataset: USPS dataset

Dataset Visualization:

Observations:

Model Epochs Train Loss Test Accuracy Precision Recall
MLP 10 0.0373 0.9312 0.9265 0.9243
CNN 10 0.0060 0.9497 0.9470 0.9449

Confusion Matrix for MLP and CNN:

Precision and Recall: