π Methodology Assignment 1
Before attempting this assignment, make sure to read Lesson 1 β it will be significantly more time-consuming if you donβt read the lesson and watch the associated video first. Submit this assignment to Gradescope no later than Monday, October 6th at 11:59PM. Post questions with the assignment on Piazza.
Make sure to also complete the Welcome Survey and submit it with Methodology Assignment 1!
Follow the steps below.
- On GitHub, create a private repository called
DSC180A-Methodology-1. - Using SSH, log into a jumpbox server on DSMLP. Donβt run a launch script just yet β only do that in step 6.
- While on the jumpbox server, clone the Git repository you created. Then, change directories into repository (
cd DSC180A-Methodology-1). - Run the command
uname -a > uname-jumpbox.txt. This saves a snapshot of your server information to a file nameduname-jumpbox.txt. - Run
echo ~ > homedir.txt. This stores the path to your home directory in a file namedhomedir.txt. At this point, theDSC180A-Methodology-1folder should have 2 files in it βuname-jumpbox.txtandhomedir.txt. - Use a launch script, like
launch-scipy-ml.sh, to initialize a container. This will bring you to your home directory once again. - Change directories back into your repository again (
cd DSC180A-Methodology-1). Now, rununame -a > uname-container.txt. - Open a Jupyter Notebook using the URL that appeared when you ran the launch script, either through port forwarding or the campus VPN.
- Copy the exact URL that appeared when you ran the launch script. Suppose that URL was
XXX. Run the commandecho XXX > notebook-url.txt. This will create a file namednotebook-url.txtwith your notebookβs URL in it. To verify that this worked correctly, runcat notebook-url.txtand you should see your URL. - Commit and push your changes to GitHub. Your repository should have 4 files in it β
uname-jumpbox.txt,homedir.txt,uname-container.txt, andnotebook-url.txt. - Submit the GitHub repository to Gradescope under Methodology Assignment 1.
Its a simple assignment; make sure you receive a full score. We will not entertain re-submissions beyond the deadline.