====== Machine Learning ====== ---- ===== News ===== * **29/09/2020**: Starting date * **27/10/2020 - NEWS**: Today's Lesson is canceled ---- ===== General Info ===== **Teacher**: * [[https://docenti.unicam.it/pdett.aspx?ids=N&tv=d&UteId=1039&ru=PROFCONTR|Marco Piangerelli]] **ESSE3 Link** * [[https://didattica.unicam.it/Guide/PaginaADErogata.do?ad_er_id=2018*N0*N0*S1*14634*9989&ANNO_ACCADEMICO=2018&mostra_percorsi=S|Machine Learning - AY 2020/2021]] **Class schedule**: * Monday 09:00 - 11:00 - AB1 * Tuesday 16:00 - 18:00 - AB1 **Students Office hours**: * Tuesday from 09:00 to 11:00 ---- ===== 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 * Dimensionality Reduction * Clustering * Neural networks (an introduction) : FFNN, RNN, SOM * Balanced and unbalanced data * Evaluation Metrics (AUC, ROC, Confusion Matrix...) * Markov Chains and Hidden Markov Models * Examples of coding in Python and R * Probabilistic learning theory and the "learning problem" * The VC-dimension * Support Vector Machines (Proof of the maximum margin) ---- ===== Study material ===== **Course Slides and video** * 29/09/2020 {{didattica:magistrale:ml:lezione0_protetta.pdf|Lezione0}} * 05/10/2020 {{didattica:magistrale:ml:lezione1_protetta.pdf|Lezione1}}[[https://unicam.webex.com/recordingservice/sites/unicam/recording/playback/1c22f3d66d4145ffb8bb80bf3ed7356d|Video_ML_05_10_2020]] * 06/10/2020 [[https://unicam.webex.com/recordingservice/sites/unicam/recording/playback/1e28cb473c354860ae884dd42dfbe365|Video_ML_06_10_2020]] * 12/10/2020 [[https://unicam.webex.com/recordingservice/sites/unicam/recording/playback/50244d178faf46d6b3f520f09e467354|Video_ML_12_10_2020]] * 13/10/2020 {{didattica:magistrale:ml:ay_2021:lezione2_19_20_protetta.pdf|Lezione2}}[[https://unicam.webex.com/recordingservice/sites/unicam/recording/playback/dfe32e1656bf4a549bcb9f639df2f01e|Video_ML_13_10_2020_svm]] * 19/10/2020 [[https://unicam.webex.com/recordingservice/sites/unicam/recording/playback/ae6f96b1b6fb4a6b9b3d435df511ec51|Video_ML_19_10_2020_kernels]] * 20/10/2020 [[https://unicam.webex.com/recordingservice/sites/unicam/recording/playback/6e3d10abe7ac442ca9b06693012c68ca|Video_ML_20_10_2020_more_on_kernels_knn_curseofdimensionality]] * 26/10/2020 [[https://unicam.webex.com/recordingservice/sites/unicam/recording/playback/24bdd6131441478abe9f1006defc4e4c|Video_ML_26_10_2020_NNs]]{{didattica:magistrale:ml:ay_2021:lezionenn_protetto.pdf|Lezione3}} * 27/10/2020 **Canceled** * 02/11/2020 **Academic Holiday** * 03/11/2020 {{didattica:magistrale:ml:ay_2021:lezione5_20_21_protetta.pdf|Lezione 4}} * 09/11/2020 [[https://unicam.webex.com/recordingservice/sites/unicam/recording/playback/cbe2187327fe45899356a12183d83f16|Video_ML_09_11_2020_Trees]]{{didattica:magistrale:ml:ay_2021:lezione6_20_21_protetta.pdf|Lezione 5}} * 10/11/2020 [[https://unicam.webex.com/unicam/ldr.php?RCID=5530db06e26e4dbeb9376f44186bff98|Video_ML_09_11_2020_EnsembleMethods]]{{didattica:magistrale:ml:ay_2021:lezione7_20_21_protetta.pdf|Lezione 6}} * 16/11/2020 {{didattica:magistrale:ml:ay_2021:protetto_lezione8_20_21.pdf|Lezione 7}} * 17/11/2020 See 23/11/2020 for material * 23/11/2020 {{didattica:magistrale:ml:ay_2021:lezione9_20_21_protetta.pdf|Lezione 8 (I and II)}}[[ https://unicam.webex.com/unicam/ldr.php?RCID=989573c949f448d9bc318fd4bc3a555c|Video_ML_23_11_2020_Unsupervised_Learning]] * 24/11/2020 ML_01_12_2020_Probabilistic_Learning_I * 30/11/2019 [[https://unicam.webex.com/unicam/ldr.php?RCID=1ddc4e3feffd4400ada2fd484a91f15a|ML_30_11_2020_Probabilistic_Learning_II]] * 01/12/2020 [[https://unicam.webex.com/unicam/ldr.php?RCID=29899eb25b514dd9877d9b9419762b81|ML_01_12_2020_Probabilistic_Learning_III]] * 07/12/2020 **Academic Holiday** * 08/12/2020 **Academic Holiday** * 14/12/2020 [[https://unicam.webex.com/unicam/ldr.php?RCID=cd25c093b30b47de892ab21a8eca43bc|ML_14_12_2020_Probabilistic_Learning_IV]] * 15/12/2020 Probabilistic_Learning_V * 21/12/2020 [[https://unicam.webex.com/unicam/ldr.php?RCID=54bb9b2fa47e44b393a1d97be1543667|Probabilistic_Learning_VI_Bias_variance_tradeoff]] * 22/12/2020 [[https://unicam.webex.com/unicam/ldr.php?RCID=65c67820645f11e526fac63ae145ccc7|ML_22_12_2020_bias_variance_II]] **Reference books** * 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]] **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 ** * 28/09/2020 {{didattica:magistrale:ml:ay_1920:math4ml.pdf|Math for Machine Learning - no Bayesian Probability}} * 11/10/2020 {{didattica:magistrale:ml:ay_2021:cortes-vapnik1995_article_support-vectornetworks.pdf|Vapnik paper}} * 11/10/2020 {{didattica:magistrale:ml:ay_2021:hoeffding_protetto.pdf|Hoeffding's}} * 28/09/2019 {{didattica:magistrale:ml:ay_2021:optimization_protetto.pdf|Optimization_notes}} * 28/09/2019 {{didattica:magistrale:ml:ay_2021:svm_notes1.pdf|SVM1}} * 28/09/2019 {{didattica:magistrale:ml:ay_2021:svm_notes2.pdf|SVM2}} * 28/09/2019 {{didattica:magistrale:ml:ay_2021:svm_notes4.pdf|SVM3}} * 12/11/2019 {{didattica:magistrale:ml:ay_1020:explaining_adaboost_schapire.pdf|Explaining AdaBoost- Schapire}} * 12/11/2019 {{didattica:magistrale:ml:ay_2021:ensemble_methods_zhou.pdf|Ensemble Methods - Zhou}} * 12/12/2019 {{didattica:magistrale:ml:ay_1920:bias_variance_restriceted.pdf|Bias-Variance I}} * 12/12/2019 {{didattica:magistrale:ml:ay_2021:bias_varianceii_restricted.pdf|Bias-Variance II}} * 16/12/2019 {{didattica:magistrale:ml:ay_2021:vapnik_recap_protetto.pdf|Vapnik's Inequality}} ---- ===== Exams ===== **Exam Dates A.Y. 2020/2021** * * * * * **Please, once inside your ESSE3 private account, select the dates with the labels in the following form "(Roman Number) Prova Parziale scritta"** **Exam rules**: The exam consists in two sessions: a written session and an oral one. The oral session is reserved for people who pass the written part with a mark greater or equal to 18. ** Exam Results ** * N/A ---- ===== Introduction to Machine Learning (for Ph.D.) ===== ** Syllabus ** * Learning Probabilistic Theory * Learning paradigms * Classification * Clustering * Neural Networks * Support Vector Machines * Practical issues for ML ** Material ** * Lesson0 13/06/2019 {{didattica:magistrale:ml:ay_1920:lezione0_phd_protetto.pdf|Lezione0}} * Lesson1 09/06/2019 {{didattica:magistrale:ml:ay_1920:lezione1_phd_protetto.pdf|Lezione1}} * Lesson2 20/06/2019 {{didattica:magistrale:ml:ay_1920:lezione2_phd_protetto.pdf|Lezione2}} * Lesson3 24/06/2019 {{didattica:magistrale:ml:ay_1920:lezione3_phd_protetto.pdf|Lezione3}} * Lesson4 27/06/2019 {{didattica:magistrale:ml:ay_1920:lezione4_phd_protetto.pdf|Lezione4}} * Lesson5 04/07/2019 {{didattica:magistrale:ml:ay_1920:lezione5_phd_protetto.pdf|Lezione5}} * Lesson6 13/07/2019 {{didattica:magistrale:ml:ay_1920:lezione6_phd_protetto.pdf|Lezione6}}