4 Week 4

  • Dates: 09/13/2021 - 09/19/2021

4.1 Lectures

Topic Video Mirror Notes
4.1 NumPy Basics: Part 1 [ClassTranscribe] [YouTube] [4.1]
4.2 NumPy Basics: Part 2 [ClassTranscribe] [YouTube] [4.2]
4.3 NumPy: Linear Algebra [ClassTranscribe] [YouTube] [4.3]

4.2 Discussion/Lab

4.3 Homework

4.4 Deadlines

  • Lab 03 - 11:59 PM Tuesday 09/14/2021
  • HW 02 - 11:59 PM Friday 09/17/2021 (80% - 11:59 PM Sunday 09/19/2021)

4.5 Lab 04 Details

4.5.1 Complete the lab04 Notebook

Using your command line, navigate to your NetID folder (cd Desktop -> cd stat430 -> cd [NETID] OR cd OneDrive/Desktop -> cd stat430 -> cd [NetID] for some of you) and fetch the notebook from our release repository by running the following two git commands:

git fetch release
git merge release/lab04 -m "Merging initial files"

ONLY IF you get an error related to unrelated histories, use:

git merge release/lab04 --allow-unrelated-histories -m "Merging initial files"

Open the notebook with the command:

jupyter notebook

Inside of the notebook webpage:

  • Navigate into lab04 folder
  • Open up the lab04.ipynb notebook
  • Follow the instructions inside of the notebook

Whenever you are done, you should save the current checkpoint (using File -> Save Checkpoint in the notebook) to save your work. Once your work is saved, you can exit the command line running the notebook with Ctrl + C.

4.5.2 Submitting Your Work

When you have completed working, you should always submit your work (even if you’re not quite finished). We will always grade the latest push you made before the due date (and ignore everything else) — submitting multiple times is okay and encouraged!

Inside of Jupyter:

  • Click File -> Save Checkpoint to ensure your notebook is saved.
  • Click File -> Close and Halt to exit your notebook.
  • Click Quit (in the top-right) to close the directory view.

After exiting Jupyter, your command prompt will return to accept new commands.

Make sure you’re inside your NETID folder when you run the following commands! Otherwise, you will receive errors.

    git add -A
    git commit -m "lab04 submission"
    git push origin master

You can verify your submission was made by visiting the web interface to github: