/2021-KU-COSE474

Deep Learning Programming Assignment (MSE, Classifiers(Softmax, SVM), Backpropagation, Neural Network, MNIST CNN, ResNet)

Primary LanguagePython

2021 COSE474(03) (Deep Learning)

Deep Learning Programming Assignment (MSE, Classifiers(Softmax, SVM), Backpropagation, Neural Network, MNIST CNN, ResNet)

Assignment 1

In this assignment, you are asked to write a Python code that estimates the linear model with noise. The goal is to write a Python code to find x that minimizes MSE.

Assignment 2

In this assignment, you are asked to write a Python code for three classifiers:

  1. k-Nearest Neighbor (kNN)
  2. SVM-loss classifier
  3. softmax classifier

Assignment 3

In this assignment, you are asked to write a Python code for implementing a 2- layer neural network (a neural network with 1 hidden layer). Our goal is to implement the XOR operation.

There are classes defined for each layer:

  1. nn linear layer
  2. nn activation layer
  3. nn softmax layer
  4. nn cross entropy layer All of them have two common methods: forward and backprop.

Assignment 4

In this assignment, there are two tasks.

  1. You are asked to write a Python code, writing methods for classes implementing convolutional and maxpool layer for neural networks.
  2. You are asked to label random images from MNIST dataset.

Assignment 5

In this assignment, you are asked to write a Python code to implement a neural network classifier for MNIST dataset. Specifically, complete three methods, forward, backprop and update weights for class nn mnist classifier. You also need to complete all the layers in nn layers.py file.

Assignment 6

In this assignment, you are asked to write a Python code to implement a classifier for CIFAR-10 dataset. Specifically, you need to implement a variant of ResNet whose blocks can model identity mapping. The implementation details are provided in the following sections.