Labs
Running the code for Labs 1-9
Locally
There are lots of ways to work with the Jupyter Notebooks locally e.g.
Using VSCode
.ipynb
files. This can be done through the following commands in your terminal:code --install-extension ms-python.python
code --install-extension ms-python.vscode-pylance
code --install-extension ms-toolsai.jupyter
code --install-extension ms-toolsai.jupyter-keymap
code --install-extension ms-toolsai.jupyter-renderers
code <~/path/to/your/directory>
Using Jupyter Lab
python3 -m venv ./
This will allow you to install packages without affecting the system-wide Python installation. You then need to activate the virtual encironment using
source bin/activate
install jupyterlab using
pip3 install jupyterlab
run jupyterlab using
jupyter lab
A virtual environment is a self-contained directory that contains a Python installation and allows you to install packages without affecting the system-wide Python installation.
Remotely
Files and Datasets
All the files required for these labs can be found on the right hand side. We are also keeping a collection of datasets that are utilised in the labs, and that might be interesting for further use. These can be found here.
Contacts
- Claire Rocks: Profile Page - Email
- Saif Anwar: Profile Page - Email
Lab files directory
Lab 1
Jupyter Notebook file (ipynb)
Lab 2
Jupyter Notebook file (ipynb)
Lab 3
Jupyter Notebook file (ipynb)
Lab 4
Jupyter Notebook file (ipynb)
Lab 5
Jupyter Notebook file (ipynb)
Lab 6
Jupyter Notebook file (ipynb)
Lab 7
Jupyter Notebook file (ipynb)
Lab 8
Jupyter Notebook file (ipynb)
Lab 9
Jupyter Notebook file (ipynb)