Difference between revisions of "SC:Soft Computing"
(→Exam Results) |
|||
Line 13: | Line 13: | ||
* Follow this link to [[Media:Risultati_SC.pdf | the results of 14/07/2011 exam]]. | * Follow this link to [[Media:Risultati_SC.pdf | the results of 14/07/2011 exam]]. | ||
+ | |||
+ | |||
+ | __FORCETOC__ | ||
+ | |||
+ | The following are last minute news you should be aware of ;-) | ||
+ | 25/07/2011: final grades (including homeworks) for the 15/07/2011 and 29/06/2011 are at [[Media:Grades_110715.pdf |this link!]] | ||
+ | 12/07/2011: 29/06/2011 exam grades of are available at [[Media:Grades_110729.pdf |this link!]] | ||
+ | 12/07/2011: published the 29/06/2011 exam pdf | ||
+ | 27/06/2011: HOMEWORK EXTENSION! The new deadline is 08/07/2011 | ||
+ | 23/06/2011: a few hints for the homework and a new version (just a footnote) | ||
+ | 17/06/2011: a minor fix to the HOMEWORK and new slides about model selection updated | ||
+ | 09/06/2011: The HOMEWORK is out, check at the end of this page!!!! | ||
+ | 12/04/2011: detailed schedule modified; no lecture on 18/5 and additional lectures on 31/05 and 01/06 (I forgot them originally) | ||
+ | 14/03/2011: added the detailed schedule. NOTE that tomorrow class starts at 14:15 instead of 13:15 | ||
+ | 08/03/2011: the course started today! | ||
+ | |||
+ | ==Course Aim & Organization== | ||
+ | |||
+ | The objective of this course is to give an advanced presentation of the techniques most used in artificial intelligence and machine learning for pattern recognition, knowledge discovery, and data analysis/modeling. | ||
+ | |||
+ | ===Teachers=== | ||
+ | |||
+ | The course is composed by a blending of lectures and exercises by the course teacher and some teaching assistants. | ||
+ | |||
+ | * [http://www.dei.polimi.it/people/matteucci Matteo Matteucci]: the course teacher | ||
+ | * [http://www.dei.polimi.it/people/malago Luigi Malago']: the teaching assistant on regression | ||
+ | * [http://davide.eynard.it/ Davide Eynard]: the teaching assistant on clustering | ||
+ | |||
+ | ===Course Program=== | ||
+ | |||
+ | Techniques from machine and statistical learning are presented from a theoretical (i.e., statistics and information theory) and practical perspective through the descriptions of algorithms, the theory behind them, their implementation issues, and few examples from real applications. The course follows, at least partially, the outline of ''The Elements of Statistical Learning'' book (by Trevor Hastie, Robert Tibshirani, and Jerome Friedman): | ||
+ | |||
+ | * '''''Machine Learning and Pattern Classification''''': in this part of the course the general concepts of Machine Learning and Patter Recognition are introduced with a brief review of statistics and information theory; | ||
+ | * '''''Unsupervised Learning Techniques''''': the most common approaches to unsupervised learning are described mostly focusing on clustering techniques, rule induction, Bayesian networks and density estimators using mixure models; | ||
+ | * '''''Supervised Learning Techniques''''': in this part of the course the most common techniques for Supervised Learning are described: decision trees, decision rules, Bayesian classifiers, hidden markov models, lazy learners, etc. | ||
+ | * '''''Feature Selection and Reduction''''': techniques for data rediction and feature selection will be presented with theory and applications | ||
+ | * '''''Model Validation and Selection''''': model validation and selection are orthogonal issues to previous technique; during the course the fundamentals are described and discussed (e.g., AIC, BIC, cross-validation, etc. ). | ||
+ | |||
+ | ===Detailed course schedule=== | ||
+ | |||
+ | A detailed schedule of the course can be found here; topics are just indicative while days and teachers are correct up to some last minute change (I will notify you by email). Please note that not all Tuesdays and Wednesdays are in!! | ||
+ | |||
+ | {| border="1" align="center" style="text-align:center;" | ||
+ | |- | ||
+ | |Date || Day || Time || Room || Teacher || Topic | ||
+ | |- | ||
+ | |08/03/2011 || Tuesday || 13:15 - 16:15 || 3.6 || Matteo Matteucci || Course Introduction (Ch. 1) | ||
+ | |- | ||
+ | |15/03/2011 || Tuesday || 14:15 - 16:15 || 3.6 || Matteo Matteucci || Two examples from classification (Ch. 2) | ||
+ | |- | ||
+ | |22/03/2011 || Tuesday || 13:15 - 15:15 || 3.6 || Matteo Matteucci || Discriminating functions, decision boundary and Linear Regression (Ch.4.1, Ch. 4.2) | ||
+ | |- | ||
+ | |23/03/2011 || Wednesday || 14:15 - 16:15 || 4.2 || Luigi Malago || Linear regression methods (Ch 2.1, 2.2, 2.3 and 2.3.1, 2.4, 2.6 and 2.6.1, 2.7 and 2.7.1, 2.8 and 2.8.1, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.9, see paper "Least Angle Regression" linked below, pages 1-16) | ||
+ | |- | ||
+ | |29/03/2011 || Tuesday || 13:15 - 15:15 || 3.6 || Matteo Matteucci || Linear Discriminant Analysis (Ch. 4.3) | ||
+ | |- | ||
+ | |30/03/2011 || Wednesday || 14:15 - 16:15 || 4.2 || Luigi Malago || Linear regression methods (see 23/03/2011) | ||
+ | |- | ||
+ | |05/04/2011 || Tuesday || 13:15 - 15:15 || 3.6 || Luigi Malago || Linear regression methods (see 23/03/2011) | ||
+ | |- | ||
+ | |06/04/2011 || Wednesday || 14:15 - 16:15 || 4.2 || Luigi Malago || Linear regression methods (see 23/03/2011) | ||
+ | |- | ||
+ | |12/04/2011 || Tuesday || 13:15 - 15:15 || 3.6 || Matteo Matteucci || Logistic regression (Ch.4.4) | ||
+ | |- | ||
+ | |13/04/2011 || Wednesday || 14:15 - 16:15 || 4.2 || Davide Eynard || Clustering I: Introduction and K-Means | ||
+ | |- | ||
+ | |19/04/2011 || Tuesday || 13:15 - 15:15 || 3.6 || Matteo Matteucci || Perceptron learning | ||
+ | |- | ||
+ | |20/04/2011 || Wednesday || 14:15 - 16:15 || 4.2 || Davide Eynard || Clustering II: K-Means Alternatives, Hierarchical, SOM | ||
+ | |- | ||
+ | |27/04/2011 || Wednesday || 14:15 - 16:15 || 4.2 || Davide Eynard || Clustering III: Mixture of Gaussians, DBSCAN, Jarvis-Patrick | ||
+ | |- | ||
+ | |03/05/2011 || Tuesday || 13:15 - 15:15 || 3.6 || Matteo Matteucci || Maximum margin classification (Ch. 4.5.2) | ||
+ | |- | ||
+ | |04/05/2011 || Wednesday || 14:15 - 16:15 || 4.2 || Davide Eynard || Clustering IV: Evaluation Measures | ||
+ | |- | ||
+ | |10/05/2011 || Tuesday || 13:15 - 15:15 || 3.6 || Matteo Matteucci || Kernel Smoothing Methods and Kerned Density Estimation (Ch.6.1, Ch.6.6, Ch.6.9) | ||
+ | |- | ||
+ | |11/05/2011 || Wednesday || 14:15 - 16:15 || 4.2 || Matteo Matteucci || Gaussian Mixture Models (Ch.6.8) and the EM Algorithm (Ch.8.5) | ||
+ | |- | ||
+ | |17/05/2011 || Tuesday || || || || No Lecture today! | ||
+ | |- | ||
+ | |18/05/2011 || Wednesday || || || || No Lecture today! | ||
+ | |- | ||
+ | |24/05/2011 || Tuesday || 13:15 - 15:15 || 3.6 || Matteo Matteucci || Decision Trees ([[Media:PAMI_DTnR.pdf |handout]] + Ch. 9.2) | ||
+ | |- | ||
+ | |25/05/2011 || Wednesday || 14:15 - 16:15 || 4.2 || Matteo Matteucci || Classification Rules ([[Media:PAMI_DTnR.pdf |handout]] + Ch. 9.2) | ||
+ | |- | ||
+ | |31/05/2011 || Tuesday || 13:15 - 15:15 || 3.6 || Matteo Matteucci || Rule pruning and Sequential Covering Algorithm ([[Media:PAMI_DTnR.pdf |handout]] + Ch. 9.3) | ||
+ | |- | ||
+ | |01/06/2011 || Wednesday || 14:15 - 16:15 || 4.2 || Matteo Matteucci || Sequential Covering Algorithm ([[Media:PAMI_DTnR.pdf |handout]] + Ch. 9.3) | ||
+ | |- | ||
+ | |07/06/2011 || Tuesday || 13:15 - 15:15 || 3.6 || Matteo Matteucci || Support Vector Machines (Ch. 12.1, Ch. 12.2, Ch. 12.3.0, Ch. 12.3.1 + SVM paper) | ||
+ | |- | ||
+ | |08/06/2011 || Wednesday || || || || No Lecture today! | ||
+ | |- | ||
+ | |14/06/2011 || Tuesday || 13:15 - 15:15 || 3.6 || Matteo Matteucci || Model selection theory (Ch. 7.1, Ch. 7.2, Ch. 7.3 + [http://www.inf.ed.ac.uk/teaching/courses/mlsc/Notes/Lecture4/BiasVariance.pdf Bias and Variance notes]) | ||
+ | |- | ||
+ | |15/06/2011 || Wednesday || 14:15 - 16:15 || 4.2 || Matteo Matteucci || Model selection practice (Ch. 7.4, Ch. 7.5, Ch. 7.6, Ch. 7.7, Ch. 7.10) | ||
+ | |- | ||
+ | |21/06/2011 || Tuesday || 13:15 - 15:15 || 3.6 || Matteo Matteucci || Question and Answers | ||
+ | |} | ||
+ | |||
+ | ===Course Evaluation=== | ||
+ | |||
+ | The course evaluation is composed by two parts: | ||
+ | |||
+ | * A homework with exercises covering the whole program that counts for 30% of the course grade | ||
+ | * A oral examination covering the whole progran that count for 70% of the course grade | ||
+ | |||
+ | The homework is just one per year, it will be published at the end of the course and you will have 15 days to turn it in. It is not mandatory, however if you do not turn it in you loose 30% of the course grade. There is the option of substitute the homework with a practical project, but this has to be discussed and agreed with the course professor. | ||
+ | |||
+ | ==Teaching Material (the textbook)== | ||
+ | |||
+ | Lectures will be based on material taken from the aforementioned slides and from the following book. | ||
+ | |||
+ | * [http://http://www-stat.stanford.edu/~tibs/ElemStatLearn/index.html The Elements of Statistical Learning: Data Mining, Inference, and Prediction.] by Trevor Hastie, Robert Tibshirani, and Jerome Friedman. | ||
+ | |||
+ | Some additional material that could be used to prepare the oral examination will be provided together with the past homeworks. | ||
+ | |||
+ | ===Teacher Slides=== | ||
+ | |||
+ | In the following you can find the lecture slides used by the teacher and the teaching assistants during classes: | ||
+ | |||
+ | * [[Media:PAMI_Intro.pdf | Course introduction]]: introductory slides of the course with useful information about the grading, and the course logistics. Some examples from supervised learning and two algorithms for classification (taken from ''The Elements of Statistical Learning'' book). | ||
+ | * [[Media:PAMI_LinearClassification.pdf | Linear Classification Examples]]: slides presenting images, tables and examples about (generalized) linear methods for classification (taken from ''The Elements of Statistical Learning'' book). | ||
+ | * [[Media:PAMI_KernelSmoothing.pdf | Kernel Smoothing Examples]]: slides presenting images, tables and examples about Kernel Smoothing, Kernel Density Estimation and Gaussian Mixture Models (taken from ''The Elements of Statistical Learning'' book). | ||
+ | * [[Media:PAMI_DTnR.pdf | Decision Trees and Classification Rules]]: these slides have been used to present decision trees and decision rules complementing the material in Ch. 9.2 of the ''The Elements of Statistical Learning'' book. | ||
+ | * [[Media:PAMI_SVM.pdf | Support Vector Machines]]: these slides have been used to present Support Vector Machines (taken from ''The Elements of Statistical Learning'' book). | ||
+ | |||
+ | ===Additional Papers=== | ||
+ | Papers used to integrate the textbook | ||
+ | |||
+ | * Bradley Efron, Trevor Hastie, Iain Johnstone and Robert Tibshirani, [http://www.stanford.edu/~hastie/Papers/LARS/LeastAngle_2002.pdf Least Angle Regression] Annals of Statistics (with discussion) (2004) 32(2), 407-499. | ||
+ | * Burges, Christopher J. C., 1998. [http://www.svms.org/tutorials/Burges1998.pdf A tutorial on support vector machines for pattern recognition]. Data Mining and Knowledge Discovery, 2(2), 121–167. | ||
+ | * ... | ||
+ | |||
+ | ===Clustering Slides=== | ||
+ | These are the slides used to present clustering algorithms during lectures | ||
+ | |||
+ | * Lesson 1: Introduction to Clustering and K-Means ([http://davide.eynard.it/teaching/2011_PAMI/slides-lecture-e1.pdf slides], [http://davide.eynard.it/teaching/2011_PAMI/handout-lecture-e1.pdf handouts]) | ||
+ | |||
+ | * Lesson 2: K-Means alternatives, Hierarchical, SOM ([http://davide.eynard.it/teaching/2011_PAMI/slides-lecture-e2.pdf slides], [http://davide.eynard.it/teaching/2011_PAMI/handout-lecture-e2.pdf handouts]) | ||
+ | |||
+ | * Lesson 3: Mixture of Gaussians, DBSCAN, Jarvis-Patrick ([http://davide.eynard.it/teaching/2011_PAMI/slides-lecture-e3.pdf slides], [http://davide.eynard.it/teaching/2011_PAMI/handout-lecture-e3.pdf handouts]) | ||
+ | |||
+ | * Lesson 4: Evaluation measures ([http://davide.eynard.it/teaching/2011_PAMI/slides-lecture-e4.pdf slides], [http://davide.eynard.it/teaching/2011_PAMI/handout-lecture-e4.pdf handouts]) | ||
+ | |||
+ | ===Past Exams and Sample Questions=== | ||
+ | These are the text of past exams to give and idea on what to expect during the class exam: | ||
+ | |||
+ | * [[Media:2011_06_29.pdf |29/06/2011 Exam]] | ||
+ | * ... | ||
+ | |||
+ | == 2011 Homework == | ||
+ | |||
+ | Here you can find the homework for the year 2011 and the material you need to complete it. Please read the F.A.Q. below and for any unsolved doubt contact the teachers of the course. | ||
+ | |||
+ | * [[Media:PAMI_homework_2011_v02.pdf | Homework 2011 v02]] a minor change in the signature of the logistic regression function | ||
+ | * [[Media:PAMI_homework_2011_v01.pdf | Homework 2011 v01]] text with questions and exercises | ||
+ | * [[Media:dataset.txt | Dataset]] for the clustering exercise in csv format | ||
+ | |||
+ | '''Frequently Asked Questions''' | ||
+ | |||
+ | * '''''How do I take the square root of a matrix?''''': check the diagonalization approach from [http://en.wikipedia.org/wiki/Square_root_of_a_matrix]. | ||
+ | |||
+ | * '''''How do I compute the chi square statistics?'''': in the slide there is a cut and paste error since e_ij=R_it*C_tj as described here [http://en.wikipedia.org/wiki/Pearson's_chi-square_test] | ||
+ | |||
+ | * '''''When it is due? In which format?''''': The homework is due on the 29/06 and should be delivered by email. Send us (all the course teachers) the .m files in a zip archive attached to this email and a link to the pdf with the written part (not to flood our mailboxes). | ||
+ | |||
+ | * '''''Can we do that in groups? How many people per group?''''': Yes, you can work on the homework in groups, but no more than 3 people per group are allowed. Put the names of all homework authors in the pdf and in all the .m files. If you discuss something with other people, w.r.t. the people in your group, point it out in the pdf file as well. | ||
+ | |||
+ | * '''''Can we ask questions about the exercises or the code?''''': Yes you should! First of all, there might be unclear things in the exercise descriptions and those should be clarified as soon as possible for all (this is why the homework is versioned). But you could ask for help as well, our goal is to have you all solving all the questions and get a high grade ... but we will not do the homework on you behalf ;-) | ||
+ | |||
+ | * '''''How the optional questions are graded?''''': They compensate for possible errors in the other questions; we suggest to work on them anyway to be sure you get the maximum grading. | ||
+ | |||
+ | * '''''How the homework will be graded?''''': we are interested in understanding if you understood or not; thus we are not interested in the result, but we want to check how you get to the result. So please: 1) clarify all the assumptions and all the steps in your exercises 2) comment as much as possible your .m files! |
Revision as of 22:09, 5 September 2011
The following are last minute news you should be aware of ;-)
27/07/2011: published the results from the 14/07/2011 exam
Contents
Course Website and Material
The official course website is maintained by Andrea Bonarini at [1]
Exam Results
From time to time, you can find here results for the Soft Computing exams, please refer to the official course website for up to date news:
- Follow this link to the results of 14/07/2011 exam.
The following are last minute news you should be aware of ;-)
25/07/2011: final grades (including homeworks) for the 15/07/2011 and 29/06/2011 are at this link! 12/07/2011: 29/06/2011 exam grades of are available at this link! 12/07/2011: published the 29/06/2011 exam pdf 27/06/2011: HOMEWORK EXTENSION! The new deadline is 08/07/2011 23/06/2011: a few hints for the homework and a new version (just a footnote) 17/06/2011: a minor fix to the HOMEWORK and new slides about model selection updated 09/06/2011: The HOMEWORK is out, check at the end of this page!!!! 12/04/2011: detailed schedule modified; no lecture on 18/5 and additional lectures on 31/05 and 01/06 (I forgot them originally) 14/03/2011: added the detailed schedule. NOTE that tomorrow class starts at 14:15 instead of 13:15 08/03/2011: the course started today!
Course Aim & Organization
The objective of this course is to give an advanced presentation of the techniques most used in artificial intelligence and machine learning for pattern recognition, knowledge discovery, and data analysis/modeling.
Teachers
The course is composed by a blending of lectures and exercises by the course teacher and some teaching assistants.
- Matteo Matteucci: the course teacher
- Luigi Malago': the teaching assistant on regression
- Davide Eynard: the teaching assistant on clustering
Course Program
Techniques from machine and statistical learning are presented from a theoretical (i.e., statistics and information theory) and practical perspective through the descriptions of algorithms, the theory behind them, their implementation issues, and few examples from real applications. The course follows, at least partially, the outline of The Elements of Statistical Learning book (by Trevor Hastie, Robert Tibshirani, and Jerome Friedman):
- Machine Learning and Pattern Classification: in this part of the course the general concepts of Machine Learning and Patter Recognition are introduced with a brief review of statistics and information theory;
- Unsupervised Learning Techniques: the most common approaches to unsupervised learning are described mostly focusing on clustering techniques, rule induction, Bayesian networks and density estimators using mixure models;
- Supervised Learning Techniques: in this part of the course the most common techniques for Supervised Learning are described: decision trees, decision rules, Bayesian classifiers, hidden markov models, lazy learners, etc.
- Feature Selection and Reduction: techniques for data rediction and feature selection will be presented with theory and applications
- Model Validation and Selection: model validation and selection are orthogonal issues to previous technique; during the course the fundamentals are described and discussed (e.g., AIC, BIC, cross-validation, etc. ).
Detailed course schedule
A detailed schedule of the course can be found here; topics are just indicative while days and teachers are correct up to some last minute change (I will notify you by email). Please note that not all Tuesdays and Wednesdays are in!!
Date | Day | Time | Room | Teacher | Topic |
08/03/2011 | Tuesday | 13:15 - 16:15 | 3.6 | Matteo Matteucci | Course Introduction (Ch. 1) |
15/03/2011 | Tuesday | 14:15 - 16:15 | 3.6 | Matteo Matteucci | Two examples from classification (Ch. 2) |
22/03/2011 | Tuesday | 13:15 - 15:15 | 3.6 | Matteo Matteucci | Discriminating functions, decision boundary and Linear Regression (Ch.4.1, Ch. 4.2) |
23/03/2011 | Wednesday | 14:15 - 16:15 | 4.2 | Luigi Malago | Linear regression methods (Ch 2.1, 2.2, 2.3 and 2.3.1, 2.4, 2.6 and 2.6.1, 2.7 and 2.7.1, 2.8 and 2.8.1, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.9, see paper "Least Angle Regression" linked below, pages 1-16) |
29/03/2011 | Tuesday | 13:15 - 15:15 | 3.6 | Matteo Matteucci | Linear Discriminant Analysis (Ch. 4.3) |
30/03/2011 | Wednesday | 14:15 - 16:15 | 4.2 | Luigi Malago | Linear regression methods (see 23/03/2011) |
05/04/2011 | Tuesday | 13:15 - 15:15 | 3.6 | Luigi Malago | Linear regression methods (see 23/03/2011) |
06/04/2011 | Wednesday | 14:15 - 16:15 | 4.2 | Luigi Malago | Linear regression methods (see 23/03/2011) |
12/04/2011 | Tuesday | 13:15 - 15:15 | 3.6 | Matteo Matteucci | Logistic regression (Ch.4.4) |
13/04/2011 | Wednesday | 14:15 - 16:15 | 4.2 | Davide Eynard | Clustering I: Introduction and K-Means |
19/04/2011 | Tuesday | 13:15 - 15:15 | 3.6 | Matteo Matteucci | Perceptron learning |
20/04/2011 | Wednesday | 14:15 - 16:15 | 4.2 | Davide Eynard | Clustering II: K-Means Alternatives, Hierarchical, SOM |
27/04/2011 | Wednesday | 14:15 - 16:15 | 4.2 | Davide Eynard | Clustering III: Mixture of Gaussians, DBSCAN, Jarvis-Patrick |
03/05/2011 | Tuesday | 13:15 - 15:15 | 3.6 | Matteo Matteucci | Maximum margin classification (Ch. 4.5.2) |
04/05/2011 | Wednesday | 14:15 - 16:15 | 4.2 | Davide Eynard | Clustering IV: Evaluation Measures |
10/05/2011 | Tuesday | 13:15 - 15:15 | 3.6 | Matteo Matteucci | Kernel Smoothing Methods and Kerned Density Estimation (Ch.6.1, Ch.6.6, Ch.6.9) |
11/05/2011 | Wednesday | 14:15 - 16:15 | 4.2 | Matteo Matteucci | Gaussian Mixture Models (Ch.6.8) and the EM Algorithm (Ch.8.5) |
17/05/2011 | Tuesday | No Lecture today! | |||
18/05/2011 | Wednesday | No Lecture today! | |||
24/05/2011 | Tuesday | 13:15 - 15:15 | 3.6 | Matteo Matteucci | Decision Trees (handout + Ch. 9.2) |
25/05/2011 | Wednesday | 14:15 - 16:15 | 4.2 | Matteo Matteucci | Classification Rules (handout + Ch. 9.2) |
31/05/2011 | Tuesday | 13:15 - 15:15 | 3.6 | Matteo Matteucci | Rule pruning and Sequential Covering Algorithm (handout + Ch. 9.3) |
01/06/2011 | Wednesday | 14:15 - 16:15 | 4.2 | Matteo Matteucci | Sequential Covering Algorithm (handout + Ch. 9.3) |
07/06/2011 | Tuesday | 13:15 - 15:15 | 3.6 | Matteo Matteucci | Support Vector Machines (Ch. 12.1, Ch. 12.2, Ch. 12.3.0, Ch. 12.3.1 + SVM paper) |
08/06/2011 | Wednesday | No Lecture today! | |||
14/06/2011 | Tuesday | 13:15 - 15:15 | 3.6 | Matteo Matteucci | Model selection theory (Ch. 7.1, Ch. 7.2, Ch. 7.3 + Bias and Variance notes) |
15/06/2011 | Wednesday | 14:15 - 16:15 | 4.2 | Matteo Matteucci | Model selection practice (Ch. 7.4, Ch. 7.5, Ch. 7.6, Ch. 7.7, Ch. 7.10) |
21/06/2011 | Tuesday | 13:15 - 15:15 | 3.6 | Matteo Matteucci | Question and Answers |
Course Evaluation
The course evaluation is composed by two parts:
- A homework with exercises covering the whole program that counts for 30% of the course grade
- A oral examination covering the whole progran that count for 70% of the course grade
The homework is just one per year, it will be published at the end of the course and you will have 15 days to turn it in. It is not mandatory, however if you do not turn it in you loose 30% of the course grade. There is the option of substitute the homework with a practical project, but this has to be discussed and agreed with the course professor.
Teaching Material (the textbook)
Lectures will be based on material taken from the aforementioned slides and from the following book.
- The Elements of Statistical Learning: Data Mining, Inference, and Prediction. by Trevor Hastie, Robert Tibshirani, and Jerome Friedman.
Some additional material that could be used to prepare the oral examination will be provided together with the past homeworks.
Teacher Slides
In the following you can find the lecture slides used by the teacher and the teaching assistants during classes:
- Course introduction: introductory slides of the course with useful information about the grading, and the course logistics. Some examples from supervised learning and two algorithms for classification (taken from The Elements of Statistical Learning book).
- Linear Classification Examples: slides presenting images, tables and examples about (generalized) linear methods for classification (taken from The Elements of Statistical Learning book).
- Kernel Smoothing Examples: slides presenting images, tables and examples about Kernel Smoothing, Kernel Density Estimation and Gaussian Mixture Models (taken from The Elements of Statistical Learning book).
- Decision Trees and Classification Rules: these slides have been used to present decision trees and decision rules complementing the material in Ch. 9.2 of the The Elements of Statistical Learning book.
- Support Vector Machines: these slides have been used to present Support Vector Machines (taken from The Elements of Statistical Learning book).
Additional Papers
Papers used to integrate the textbook
- Bradley Efron, Trevor Hastie, Iain Johnstone and Robert Tibshirani, Least Angle Regression Annals of Statistics (with discussion) (2004) 32(2), 407-499.
- Burges, Christopher J. C., 1998. A tutorial on support vector machines for pattern recognition. Data Mining and Knowledge Discovery, 2(2), 121–167.
- ...
Clustering Slides
These are the slides used to present clustering algorithms during lectures
Past Exams and Sample Questions
These are the text of past exams to give and idea on what to expect during the class exam:
- 29/06/2011 Exam
- ...
2011 Homework
Here you can find the homework for the year 2011 and the material you need to complete it. Please read the F.A.Q. below and for any unsolved doubt contact the teachers of the course.
- Homework 2011 v02 a minor change in the signature of the logistic regression function
- Homework 2011 v01 text with questions and exercises
- Dataset for the clustering exercise in csv format
Frequently Asked Questions
- How do I take the square root of a matrix?: check the diagonalization approach from [2].
- How do I compute the chi square statistics?': in the slide there is a cut and paste error since e_ij=R_it*C_tj as described here [3]
- When it is due? In which format?: The homework is due on the 29/06 and should be delivered by email. Send us (all the course teachers) the .m files in a zip archive attached to this email and a link to the pdf with the written part (not to flood our mailboxes).
- Can we do that in groups? How many people per group?: Yes, you can work on the homework in groups, but no more than 3 people per group are allowed. Put the names of all homework authors in the pdf and in all the .m files. If you discuss something with other people, w.r.t. the people in your group, point it out in the pdf file as well.
- Can we ask questions about the exercises or the code?: Yes you should! First of all, there might be unclear things in the exercise descriptions and those should be clarified as soon as possible for all (this is why the homework is versioned). But you could ask for help as well, our goal is to have you all solving all the questions and get a high grade ... but we will not do the homework on you behalf ;-)
- How the optional questions are graded?: They compensate for possible errors in the other questions; we suggest to work on them anyway to be sure you get the maximum grading.
- How the homework will be graded?: we are interested in understanding if you understood or not; thus we are not interested in the result, but we want to check how you get to the result. So please: 1) clarify all the assumptions and all the steps in your exercises 2) comment as much as possible your .m files!