[Solved] CS260- Machine Learning Algorithms

$25

File Name: CS260-_Machine_Learning_Algorithms.zip
File Size: 320.28 KB

SKU: [Solved] CS260- Machine Learning Algorithms Category: Tag:
5/5 - (1 vote)

IProblem Description.

In this homework, you are asked to implement and solve linear Logistic Regression model and Linear SVM model (without regularization term) on MNIST dataset. In this task, you only need to perform binary classification on digit 0 and 1. Details of these models could be found in lecture 2 slides. We provide a skeleton code for data loading and iterations of training data. You are asked to implement the rest of training in Pytorch code. You are required to optimize the model by using SGD and Momentum methods. Detailed submission requirements are written in the final section.

Resources

You can follow the setup instructions at https://pytorch.org/get-started/locally/.

A useful tutorial on learning pytorch by examples at https://pytorch.org/tutorials/beginner/pytorch_ with_examples.html.

More illustrations of different optimizers could be found here: http://ruder.io/optimizing-gradient-descent/.

Data

We use MNIST digit classification dataset. Pytorch/torchvision has provide a useful dataloader to automatically download and load the data into batches. In this homework, we need two class, digit 0 and digit 1, for binary classification. We have written the data loader for you as follow. You can find it in the attached file.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CS260- Machine Learning Algorithms
$25