Git Product home page Git Product logo

ee298-hw1_cifar10's Introduction

EE298-HW1_CIFAR10

HW #1 in EE 298 Z - Deep Learning

Build a classifier on CIFAR10 dataset using
1. 3-layer MLP
2. 3-layer CNN
3. The last layer is Dense
4. Up to you to determine the hyperparameters (ie kernel size, # hidden units, # of filters, learning rate, optimizer, etc)
5. Show your solution using Jupyter notebook
6. Implement using Keras or Pytorch
7. Compare performance of both networks (best MLP vs best CNN)


Final Result:

Cifar10 classifier on 3-Layer MLP:
Link to MLP Here
alt text
The 3 Layer MLP attains a Maximum Training Accuracy of 61.57% and Testing Accuracy of 57.32%

Cifar10 classifier on 3-Layer CNN:
Link to CNN Model Here.
alt text
The 3 Layer CNN attains a Maximum Training Accuracy of 89.44% and Testing Accuracy of 87.45%


In terms of Performance, CNN performs way better in doing image related task as this model takes into account the pixel and dimensional information of the image. MLP on the other hand is still capable of performing image classification. However, the model is prone to underfitting. On the constraint of having a maximum of 3 hidden layers, CNN performs an acceptable accuracy of 89% on the training set and 87% on the testing set. MLP manage to reach 61% training accuracy and 57.32% testing accuracy, it's accuracy can still pushed up to 70%, but the model starts to underfit when attempted in this activity (CIFAR10_MLPv2) . Overall, CNN is the better model in doing image classification when compared head to head with MLP, the only downside of CNN is that it needs a lot of computational power unlike MLP.


Other trial models created can be found on this repository.

ee298-hw1_cifar10's People

Contributors

paul028 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.