# Homework 3: Gradient Descent in PyTorch for Gaussian Mixture Model

First, please accept the assignment on GitHub Classroom by clicking the link on Piazza to create the assignment repository. Please see Homework 1 instructions for how to clone your repository and submit. Remember to tag your submission with a “submission” tag and update the tag as necessary.

For each part below, we have provided skeleton code in part1.py, part2.py, etc. We have also included example outputs in the files initial_output_part1.txt, etc. so that you can check your first few lines of program output and check the output format.

NOTE 1: The first part of your program output should EXACTLY match the example output files (i.e. character by character). The format of the output should be exactly the same. This is important so that we can automatically grade your submissions.

NOTE 2: Please make sure to use print statements to actually print to stdout instead of writing to the text files. Thus, when we run your program, it should actually print to stdout. As an example, when running from the command line, the output should look like the following: