Material for a UC Irvine course offered by the Department of Physics and Astronomy.
Content is maintained on github and distributed under a BSD3 license.
Homework assignments for this course are jupyter notebooks created and managed with nbgrader.
The homework assigned so far is listed below (check back for updates each week):
Remember to always work on a copy of each homework assignment (see details below).
Before you submit your first homework, you will need to create your personal repository under the class github organization.
Click this link and fill out the form following the example below. Be sure to replace dkirkby
with your UCInetID.
To complete your initial homework setup, create an empty directory on your laptop where you will work on homework. You will copy each assignment to this directory before working on it.
If you are comfortable using github and git commands (or want to start learning now), you can clone your personal repo instead of creating an empty directory, then follow the Github experts instructions below.
Copy each homework notebook from MachineLearningStatistics/notebooks/homework/
to your homework directory before you start working on it (so your work is not lost when you later update MachineLearningStats
) but do not change the filename.
Open your copy of the homework using, for example:
jupyter notebook Homework1.ipynb # change Homework1.ipynb to the assignment you are working on
Follow the instructions in the notebook to complete the assignment. Before you turn your homework in:
raise NotImplementedError
statements.This simplest way to upload your homework is to visit your personal repo, which will have a URL like:
https://github.com/uci-mls/dkirkby # replace "dkirkby" with your UCInetID
You should see a page similar to the one below with an "Upload files" button (with your UCInetID instead of dkirkby
):
Only upload the homework notebook file you are submitting (e.g., Homework1.ipynb). You can also click "Settings" from this page, in case you originally created your repo with the wrong name.
After uploading your homework, check that it is visible from your personal repo URL and click on it to check its contents.
Your uploaded homework should still have a filename like Homework1.ipynb
. In case you renamed it at some point, you can fix that now by clicking on the edit icon and changing the name.
If you are using a clone of your personal to work on homework, you can submit it with the following git commands:
git add Homework1.ipynb # change Homework1.ipynb to the name of the file you want to upload
git commit -m 'Submitted'
git push