Introduction to Machine Learning (NYU Paris, Spring 2022)
Machine Learning is getting more and more important these days with applications ranging from autonomous driving to computer assisted medicine, including weather or financial forecasting. In this class we will study the mathematical foundations of the current machine learning algorithms.
We will cover the main models from both supervised learning including linear and non linear regression and classification (kernel methods, support vector machine, neural networks) and unsupervised learning (including clustering, gaussian mixtures, self organizing maps, principal and independent component analysis and non linear dimensionality reduction)
We will review basic concepts in probability and statistics. We will discuss Bayesian vs frequentist statistics and model/parameter inference, as well as sampling methods.
Finally, we will also discuss the important question of model assessment and selection.
The class will follow the structure
1. Lectures (introduction of the new material that will be needed during the lab sessions and for the assignements)
2. Programming (lab) sessions, (you have the opportunity to apply what you have learned during the lecture, and you can ask all the questions you want to make sure you understand everything before the assignement)
3. Assignments (You are given a new problem and you are evaluated on your ability to use the course material to solve this new problem)
Schedule and Classroom
Lecture: Tuesday/Thursday, 3.30pm – 4.45pm (Paris Time), Room 410
Recitations: Tuesday (C03) 5.00am – 6.25pm (Paris time) and Thursday (C02) 5.00am – 6.25pm . Room 410
Office hour: Thursday 10.30am – 12.00pm (Paris time)
Except if explicitely stated otherwise, assignments are due at the beginning of each class.
Current (temporary) version of the notes: Lecture notes as well as the list of sections for the Final
Practice (theory) Questions for each exam can be found by clicking on those exams below
Exam : 60% of the grade (30% Midterm (Material), 30% Final(Material))
Assignments : 30 % of the grade (Tentative schedule below)
Final Project : 10 % of the grade (Tentative schedule below, List of suggestions, Poster guidelines)
The Github page for the class will be hosted at https://github.com/acosse/Introduction-to-ML-Fall2021 and will be used for the lab and the assignments. You can also click on each “Lab” in the schedule below which will display a rendering of the notebooks through nbviewer. To access the file itself (and to be able to download it), you should go directly to github
Legend: Lab sessions are in green, Homeworks are in red (right side of the table), dates related to the project are in orange.
|Week 1||01/26||General Intro + reminders on proba and inference.
|Part I : supervised Learning|
|Week 2||01/31, 02/02||Linear and logistic regression, regularization and Compressed sensing
Linear Classification Part I, Part II, Note on the Bias-Variance trade-off
Demo Gradient Descent, Additional Note Ridge vs LASSO
Handwritten Notes : Intro + Gradient descent, Normal Eqts + regularization
MLE + MAP, Bias Variance Tradeoff
|Week 3||02/07, 02/09||
Linear and logistic regression, Linear Classification (Part II)
Lab 2 Solutions, Demo 2, Demo 3, Demo Logistic vs OLS: demo1, demo2
Handwritten Notes : Intro class. + Logistic Regr., Perceptron
|Week 4||02/14, 02/16||Non Linear classification, Kernel methods, SVM, Parts I & 2
Lab 3, Solutions, Handwritten Notes : Kernels, MaxMargin I, MaxMargin II
Assign. 2, Assig. 1 due
|Week 5||02/21, 02/23||Neural Networks, Optimization, Stochastic Optimization, Deep learning, Part I
Lab 4 (Part I) / Solutions (Part I), Solutions (tmp, Part II)
|Week 6||02/28, 03/02||Lab 2: Non Linear regression and classification, Neural Nets,
Handwritten notes backprop, Lab 5 Zoom Slides
| Assign. 2 due,
|Part II : Unsupervised Learning|
|Week 7||03/07, 03/09||Clustering, Linear Latent variable models Slides
Lab 6, (partial) Solutions
|Week 8||03/14, 03/16||Linear Latent variable models (Part II), PCA, ICA, GMM, EM algorithm,
Non linear LVM, Part I Part II, Additional Note on MVN
Demos FA/PCA , Handwritten Notes LVM (Part I), Handwritten Notes LVM (Part II)
Lab 7, (partial) Solutions
|Week 9||03/21, 03/23||Non Linear LVM and Manifold Learning Parts 1&2
|Week 10||03/28, 03/30||Lab 3: Unsupervised Learning||Readings
|Week 11||04/04, 04/06||Generalization, complexity and VC Theory|
|Week 12||04/11, 04/13||Probabilistic models, HMM, Bayesian Nets||
|Week 13||04/18, 04/20||Advanced topics,
Reinforcement Learning, Adversarial Learning, Slides RL
|Week 14||04/25, 04/27||Revisions|
|Week 15||05/02, 05/04||Project Presentations|
|Week 16||05/09, 05/11||Final Exams|
|Week 17||05/16, 05/18||Final Exams|
Lab Sessions and programming policy
The lab sessions will require you to do some programming. It is strongly recommended to use python as it is more flexible and will be useful to you when moving to pytorch later on for more advanced machine learning methods requiring GPU processing.
Downloading and getting started with Python.
Data sets can be downloaded on the following websites: