Planning and summaries

Please note that class planning is subject to adjustments.

Files

Exercises are avaliable here in pdf format: Tutorials.pdf (Last updated on 2018-10-30).

Note: the tutorials will be updated during the semester. It is best not to print them and to check this page regularly for updates.

Class plan (note: future tutorials may be subject to adjustments)

Tutorial 1, P1: 2018-09-18; P2, P3: 2018-09-19; P4,P5, P6: 2018-09-20.

Summary
Introduction to Python. Fitting and visualization
Chapter 1 of the Tutorials booklet.
Download the file with the planetary data,planets.csv, and the file with the polynomial fit data, polydata.csv (right-click, save as)

Tutorial 2, P1: 2018-09-25; P2, P3: 2018-09-26; P4, P5, P6: 2018-09-27.

Summary
Fitting Polynomials: overfitting; model selection; training, validation and testing.
Chapter 2 of the Tutorials booklet.
Download the files with the data here:bluegills.txt, yield.txt (right-click, save as)

Tutorial 3,P1: 2018-10-02; P2, P3: 2018-10-03; P4, P5, P6: 2018-10-04.

Summary
Logistic regression: overfitting; model selection with cross validation.
Chapter 3 of the Tutorials booklet.
Download the data file here:data.txt (right-click, save as)
(OPTIONAL) here is an auxiliary model with useful functions to help in this exercise: t3_aux.py

Tutorial 4, P1: 2018-10-09; P2, P3: 2018-10-10; P4, P5, P6: 2018-10-11.

Summary
Assignment 1

Tutorial 5, P1: 2018-10-16; P2, P3: 2018-10-17; P4, P5, P6: 2018-10-18.

Summary
Assignment 1

Tutorial 6, P1: 2018-10-23; P2, P3: 2018-10-24; P4, P5, P6: 2018-10-25.

Summary
Support vector machines. Bagging.
Chapter 4 of the Tutorials booklet.
Download the data file here:T4data.txt (right-click, save as)
Download the auxiliary functions here:T4_svm.py (right-click, save as)

Tutorial 7, P1: 2018-10-30; P2, P3: 2018-10-31; P4, P5, P6: 2018-11-08.

Summary
Bias-Variance decomposition. Multiclass Classification.
Chapter 5 of the Tutorials booklet.
Download the data file here:T5-data.txt (right-click, save as)
Download the auxiliary functions here:T5_plot.py (right-click, save as)

Tutorial 8, P1: 2018-11-06; P2, P3: 2018-11-07; P4, P5, P6: 2018-11-15.

Summary
Adaptive boosting and visualization.
Chapter 6 of the Tutorials booklet.
Download the data files here:T6-data.txt and iris.data(right-click, save as)

Tutorial 9, P1: 2018-11-13; P2, P3: 2018-11-14; P4, P5, P6: 2018-11-22.

Summary
Feature Selection. Feature Extraction. Vector quantization with K-Mans
Chapter 7 of the Tutorials booklet.
Download the image file here:vegetables.png(right-click, save as)

Tutorial 10, P1: 2018-11-20; P2, P3: 2018-11-21; P4, P5, P6: 2018-11-29.

Summary
Assignment 2

Tutorial 11, P1: 2018-11-27; P2, P3: 2018-11-28; P4, P5, P6: 2018-12-06.

Summary
Assignment 2

Tutorial 12, P1: 2018-12-04; P2, P3: 2018-12-05; P4, P5, P6: 2018-12-13.

Summary
Unsupervised learning revision: comparing clustering algorithms
Chapter 8 of the Tutorials booklet.
Download the script for the exercise:t8_clusters.py(right-click, save as)