====== Fundamentals of Machine Learning ======
----
===== News =====
* **07/10/2023**: Starting date
* **07/10/2023**: New Material: Math 4 ML
----
===== General Info =====
**Teacher**:
* [[https://docenti.unicam.it/pdett.aspx?ids=N&tv=d&UteId=1039&ru=RD|Prof. Marco Piangerelli]]
**ESSE3 Link**
* [[|Fundamentals of Machine Learning - AY 2024/25]]
**Scheduling of Lectures**:
* Scheduling is available at the following [[:didattica:ay2425:orario_en|link]]
**Degrees**:
* [[didattica:mscs|MSc in Computer Science (LM-18)]]
**Class schedule**:
* Monday 11:00 - 13:00 - TeamLab
* Tuesday 16:00 - 18:00 - TeamLab
**Students Office hours**:
* Monday from 14:00 to 16:00
* Mandatory taking an appointment by email
===== Course Objectives =====
KNOWLEDGE AND UNDERSTANDING
The aim of the course is to provide the student with knowledge and skills in the area of machine learning.\\
At the end of the course the student should be able to:
* distinguish the various machine learning paradigms;
* know the learning theory
* know classification algorithms, regression, clustering and dimension reduction;
APPLYING KNOWLEDGE AND UNDERSTANDING\\
After completing the course, the student must demonstrate that he is able to:
* apply the different machine learning paradigms
* implement the classification, regression, clustering and dimensionality reduction algorithms;
* design and implement systems able to learn automatically from real data and situations;
COMMUNICATION SKILLS\\
At the end of this training activity, the student will be able to express himself clearly and with appropriate terms, using the English language, in the learning discussions as well as expose the results of a research concerning technical aspects of machine learning.
LEARNING SKILLS\\
At the end of this training activity the student will be able to:
* Finding and learning the innumerable algorithms and techniques that are presented in the field of machine learning
* Implementing and using the new algorithms
----
===== Course Contents =====
* Notions of Probability and Linear Algebra
* Supervised Learning
* Linear Models and Regression for Classification
* Decision Tree, Random Forest, Ensemble
* Unsupervised Learning
* Clustering
* Neural networks (an introduction) : FFNN, RNN, SOM, CNN
* Balanced and unbalanced data
* Evaluation Metrics (AUC, ROC, Confusion Matrix...)
* Examples of coding in Python
* Probabilistic learning theory and the "learning problem"
* The VC-dimension
* Bias-Variance Trade-off
* Support Vector Machines (Proof of the maximum margin)
----
===== Study material =====
**Course Slides and video**
* 07/10/2024 {{didattica:ay2425:fml:fundamentalsML_Lezione1_protetto.pdf|Lezione1}}
* 08/10/2024 {{didattica:ay2425:fml:fundamentalsML_Lezione1_protetto.pdf|Lezione2}}
* 14/10/2024 see 08/10/2024
* 15/10/2024 see 15/10/2024
* 21/10/2024 {{didattica:ay2425:fml:Machine_Intelligence_SVM_protetto.pdf|Lezione3}}
* 22/10/2024 see 21/10/2024
* 28/10/2024 {{didattica:ay2425:fml:Machine_Intelligence_NN_protetto.pdf|Lezione4}}
* 29/10/2024 see 28/10/2024
* 04/11/2024 {{didattica:ay2425:fml:fundamentalsML_Lezione_DT_protetto.pdf|Lezione5}}
* 05/11/2024 {{didattica:ay2425:fml:fundamentalsml_lezione6_protetto.pdf|Lezione6}}
* 11/11/2024
* 12/11/2024
* 18/11/2024
* 19/11/2024
* 25/11/2024
* 26/11/2024
* 02/12/2024
* 03/12/2024
* 09/12/2024
* 10/12/2024
* 16/12/2024
* 17/12/2024
**Reference books**
* Norvig, P., Russel, S., Artificial Intelligence: a Modern Approach - Pearson, 2021
* Sutton, R., Barto, A. Reinforcement Learning: an Introduction [[https://web.stanford.edu/class/psych209/Readings/SuttonBartoIPRLBook2ndEd.pdf|Online version]]
* C.M. Bishop, Pattern Recognition and Machine Learning, Springer - 2006
* D. Barber, Bayesian Reasoning and Machine Learning, Cambridge University Press. - 2012 [[http://web4.cs.ucl.ac.uk/staff/D.Barber/pmwiki/pmwiki.php?n=Brml.Online|Online version]]
* T. Hastie, R. Tibshirani, J. Friedman, The Elements of Statistical Learning, Springer - 2008 [[https://web.stanford.edu/~hastie/ElemStatLearn//printings/ESLII_print10.pdf|Online version]]
** Link to recordings**
[[https://docs.google.com/spreadsheets/d/1KXtW64qnjQaeVPBP6IEDdnTJv215C6CeCHkBA-A9FOY/edit?usp=sharing|Recorded lessons]]
** Telegram **
https://t.me/+ugRO4d2VHDk1MzFk
**Other sources**
Some of the material is taken from the ML Course of Caltech given by Prof. Yaser Abu Mostafa and his collaborators
** Additional Material **
* 02/10/2024 {{didattica:ay2425:fml:math4ml.pdf|Math for Machine Learning - no Bayesian Probability}}
* 16/10/2024 {{didattica:ay2425:fml:regression_protetto.pdf|Regression}}
* 25/10/2024 {{didattica:ay2425:fml:svm_notes_protetto.pdf|SVM}}
*
*
*
* /*30/10/2023 {{didattica:ay2324:fml:tree4.png.pdf|}}*/
* 06/11/2024 {{didattica:ay2425:fml:ensemble_methods_zhou.pdf|}}
* 06/11/2024 {{didattica:ay2425:fml:explaining_adaboost_schapire.pdf|}}
* 20/11/2023 {{didattica:ay2324:fml:HoeffdingsInequality_protetto.pdf|}}
----
===== Exams =====
**Exam Dates A.Y. 2024/2025**
* TBD
* TBD
* TBD
* TBD
* ....
**Please, once inside your ESSE3 private account, select the dates with the labels in the following form "FML_2425_..." **
**Exam rules**:
The exam consists in a test (approximately 2.5 hours) where you have to answer theoretical questions and solve practical exercises. It is allowed to use calculator.
----