This lab will be done solo, but later labs will be done with partners. To help us arrange pairings, please fill out this form before you start work on this week's lab: https://forms.gle/iXeYf4bxQB63UcV98.
To access the starter code, log on to the Swarthmore Github Enterprise site: github.swarthmore.edu, and find your Git repository for this lab, which should be called something like "CS33-F26/lab03-USERNAME", only with your own actual username in place of 'USERNAME'. Open the repo by clicking on the name, then click the green "Code" button, make sure "SSH" is selected, and copy the URL which should be "git@github.swarthmore.edu:" followed by your repo name.
Next, open a terminal, navigate to your CS33 directory, type git clone, then paste the URL for your repo and run the command. This should create a new directory with a copy of the lab files. Run ls in this new directory to make sure the files are there; in this case, make sure you have a file called imdb_data_cleaning.ipynb.
$ source /usr/swat/bin/cs33env (cs33-f26) $ jupyter-lab
Once you have the lab repo and have opened jupyter-lab, navigate to the lab directory and open imdb_data_cleaning.ipynb
All the instructions for the lab are included in the Jupyter Notebook. The Notebook format allows for mixing instructions, example code, explanations, solution code, and output, all in the same document.
When you are finished, use git to add, commit, and push your work. In this case, all your solutions should be contained within imdb_data_cleaning.ipynb. Remember to also add/commit/push on a regular basis; you should get into the habit of pushing changes to Git at the end of each session working on a lab.
It's possible to run Jupyter remotely over SSH and connect to it from your local web browser, but you need to perform a few extra steps to make this work:
At this point, you should see jupyter lab and be able to interact with it as usual; all your code will be exectued on the remote CS machine, so you don't need to install or configure anything on your personal computer.