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.
Before the first practice session
Before the first practice session please make sure that you have Python version 3 and Jupyter Notebook 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)
conda install jupyter
(install Jupyter Notebook)
- Install MiniConda and Jupyter Notebook
- No Anaconda, relying on the system Python:
- Installing Jupyter Notebook to the system environment
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 11-13 - Introduction
Useful materials:
Jupyter Notebook Tutorial video
Practice materials:
Introduction to Jupyter Notebook & Introduction to Data Science notebooks
Practice session 02 - Sept 18-20 - DataFrames and Plotting
Notebooks (zip): Tutorial for dataframes and plotting
Practice session 03 - Sept 25-27
Extra material: Pandas (NBA dataset)
Practice session 04 - Oct 02-04
Extra material: Plotnine
Practice session 05 - Oct 09-11
Extra material: Feature Engineering and Data Cleaning
Practice session 06 - Oct 16-18
Extra material: Clustering
Practice session 07 - Oct 23-25
Extra material: Grid Search
Practice session 08 - Oct 30-Nov1
Extra material: Sampling
Practice session 09 - Nov 6-Nov 8
Extra material: Linear regression
Practice session 10 - Nov 20-Nov 22
Extra material: Neural networks