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 2020-09-22).

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: 2020-09-22; P2, P3: 2020-09-23; P4, P5, P6: 2020-09-24

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: 2020-09-29; P2, P3: 2020-09-30; P4, P5, P6: 2020-10-01

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: 2020-10-06; P2, P3: 2020-10-07; P4, P5, P6: 2020-10-08

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: 2020-10-13; P2, P3: 2020-10-14; P4, P5, P6: 2020-10-15

Summary
Assignment 1

Tutorial 5, P1: 2020-10-20; P2, P3: 2020-10-21; P4, P5, P6: 2020-10-22

Summary
Assignment 1

Tutorial 6, P1: 2020-10-27; P2, P3: 2020-10-28; P4, P5, P6: 2020-10-29

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

Tutorial 7, P1: 2020-11-03; P2, P3: 2020-11-04; P4, P5, P6: 2020-11-05

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: 2020-11-10; P2, P3: 2020-11-11; P4, P5, P6: 2020-11-12

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

Tutorial 9, P1: 2020-11-17; P2, P3: 2020-11-18; P4, P5, P6: 2020-11-19

Summary
Feature Selection. Feature Extraction. Vector quantization with K-Mans
Sections 7.1 and 7.2 of the Tutorials booklet (but not section 7.3).

Tutorial 10, P1: 2020-11-24; P2, P3: 2020-11-25; P4, P5, P6: 2020-11-26

Summary
Section 7.3 of the Tutorials booklet.
Download the image file here:vegetables.png

Tutorial 11, P1: 2020-12-07; P2, P3: 2020-12-02; P4, P5, P6: 2020-12-03

Summary
Assignment 2

Tutorial 12, P1: 2020-12-15; P2, P3: 2020-12-09; P4, P5, P6: 2020-12-10

Summary
Assignment 2
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)