Practice sessions
- Attending at least 8 of the 10 practice sessions is compulsory: after missing 2 practice sessions, each additional missed practice session results in losing 2 points.
Groups 1, 7 and 8: mark your attendances - Please log in to mark the attendances.
You can check how many sessions you attended - Please log in to check the attendances.
Before the first practice session
Before the first practice session please make sure that you have Python version 3 and Jupyter Notebook (you may use JupyterLab instead if you prefer) installed on your computer. If you don't have it yet, then we recommend to choose between the following options:
- Full Anaconda (can take up to 3 Gb of space):
- Install Anaconda (Jupyter Notebook is included)
- Anaconda (it has most of the necessary packages installed and GUI, however, it takes 3 Gb of space)
- Install Anaconda (Jupyter Notebook is included)
- Mini-version of Anaconda (takes less space):
- Install MiniConda and Jupyter Notebook
- MiniConda (it only installs Python and Conda, no unnecessary space taken, more installing will be needed later)
pip install notebook
(install Jupyter Notebook)
- Install MiniConda and Jupyter Notebook
- No Anaconda, relying on the system Python:
- You can install Python separately by going to: https://www.python.org/downloads/
- Then install Jupyter Notebook with
pip install notebook
- Then install Jupyter Notebook with
- You can install Python separately by going to: https://www.python.org/downloads/
After installing Jupyter Notebook you can simply run Jupyter notebook from command line:
jupyter notebook
(alternatively open Anaconda prompt to open Jupyter Notebook)
If you use Python in multiple courses and potentially different versions of packages, then you might want to create an environment into which you would install the packages needed for this course:
- Optional: Creating and using an environment:
- Creating a new virtual environment for this course after installation of Conda
conda create -n IDS python=3.9
(create a new environment)
- Now you should activate the environment before launching Jupyter notebook:
conda activate IDS
oractivate IDS
(Windows) orsource activate IDS
(Linux, Mac) - activates the environmentconda install jupyter
(make sure the environment is activated before installing)jupyter notebook
(make sure the environment is activated)
- Any further installations must then also be done within the environment
- The environment can be closed by
conda deactivate
- Creating a new virtual environment for this course after installation of Conda
Practice session 01 - Sept 09-11 - Introduction
Useful materials:
Jupyter Notebook Tutorial video
Practice materials:
Introduction to Jupyter Notebook & Geopandas Example
Practice session 02 - Sept 16-18 - DataFrames and Plotting
Notebooks (zip): Tutorial for dataframes and plotting
Practice session 03 - Sept 23-25
Extra material: Pandas (NBA dataset)
Practice session 04 - 30 Sept - Oct 02
Extra material: Introduction of grammar of graphics with plotnine
Practice session 05 - Oct 07-09
Extra material: Feature Engineering and Data Cleaning
Practice session 06 - Oct 14-16
Extra material: Clustering
Practice session 07 - Oct 21-23
Extra material: Grid Search
Practice session 08 - Oct 28-30
Extra material: Sampling
Practice session 09 - Nov 4-Nov 6
Extra material: Linear regression
Practice session 10 - Nov 18-Nov 20
Extra material: Neural networks