Before the practice sessions
Please install Anaconda with Python version 3. You are allowed to use Python 2, but we cannot promise that everything we plan to do will be supported there. After installation make sure you are able to run jupyter notebook. Windows users open Anaconda prompt, other users just run from command line jupyter notebook
. This should open a tab in your browser with your folder system. Go to a folder where you want your notebooks to be and create a new notebook by choosing New -> Python (from top right). After the notebook is open type in some commands like
import pandas as pd import numpy as np import sklearn print("hello")
and press SHIFT + ENTER. If everything works then you are ready for the practice session. If some of the packages cannot be imported run conda install package-name
to install the necessary packages.
If you have problems with this then write to the course forum in Piazza!
Practice Sessions
Practice 01 - Sep 10-14 - Basic linear classifier & Perceptron
Practice 02 - Sep 17-21 - KNN & Naive Bayes
Practice 03 - Sep 24-28 - Linear regression and regularization
Practice 04 - Oct 1-5 - Perceptron in dual form & SVM
Practice 05 - Oct 8-12 - Kernel methods
Oct 15 - TEST 1
Practice 06 - Oct 22-26 - Decision trees
Practice 07 - Oct 29-Nov 2 - F1 measure & ROC & Feature engineering
ROC explained
Evaluation measures and ROC curve
Evaluation measures and ROC curve Jupyter notebook file