18-461/18-661: Intro to ML for Engineers

Instructors

Prof. Andrea Zanette azanette@andrew.cmu.edu
Prof. Beidi Chen beidic@andrew.cmu.edu

TAs

Timothy Wu (Pitt)tpwu@andrew.cmu.eduHead TA
Christopher Ellis (Pitt)crellis@andrew.cmu.edu
Hrishikesh Gokhale (Pitt)hgokhale@andrew.cmu.edu
Hanjiang Hu (Pitt)hanjianh@andrew.cmu.edu
Pradhumna Guru Prasad (Pitt)pgurupra@andrew.cmu.edu
Neharika Jali (Pitt)njali@andrew.cmu.edu
Wenwen Wang (Pitt)wenwenw@andrew.cmu.edu
Tabish Shaik (Pitt)tabishs@andrew.cmu.edu
Peike Xu (SV)peikex@andrew.cmu.edu
Candide Giramat (Rwanda)mgiramat@andrew.cmu.edu
Tony Chisenga (Rwanda)tchiseng@andrew.cmu.edu

Lecture

PittsburghMon. and Wed.12:30 PM - 1:50 PM ETBH A36
Silicon ValleyMon. and Wed.9:30 AM - 10:50 AM PTB23 212
RwandaMon. and Wed.6:30 PM - 7:50 PM CATCMU REMOTE

Recitation

PittsburghFri.11:00 AM - 12:20 PM ETDH A302
Silicon ValleyFri.8:00 AM - 9:20 AM PTB23 118
RwandaFri.5:00 PM - 6:20 PM CATCMU REMOTE

Office Hours

Prof. Andrea ZanetteMon. and Wed.1:50 pm - 2:20 pm ETOutside of lecture hall NA
Prof. Beidi ChenMon. and Wed.1:50 pm - 2:20 pm ETOutside of lecture hall NA
Timothy Wu (Pitt)Fri.1:00 pm - 2:00 pm ETZoom Only [Zoom]
Christopher Ellis (Pitt)Mon.2:30 pm - 3:30 pm ETHH 1210 [Zoom]
Hrishikesh Gokhale (Pitt)Thurs.1:00 pm - 2:00 pm ETZoom Only [Zoom]
Hanjiang Hu (Pitt)Tues.1:00 pm - 2:00 pm ETZoom Only [Zoom]
Pradhumna Guru Prasad (Pitt)Thurs.2:30 pm - 3:30 pm ETZoom Only [Zoom]
Neharika Jali (Pitt)Tues.12:00 pm - 1:00 pm ETZoom Only [Zoom]
Wenwen Wang (Pitt)Wed.2:00 pm -3:00 pm ETZoom Only [Zoom]
Tabish Shaik (Pitt)Mon.4:30 pm - 5:30 pm ETZoom Only [Zoom]
Peike Xu (SV)Tues.2:00 pm - 3:00 pm PTZoom Only [Zoom]
Candide Giramat (Rwanda)Fri.4:00 pm - 5:00 pm CATZoom Only [Zoom]
Tony Chisenga (Rwanda)Thurs.6:00 pm - 7:00 pm CATZoom Only [Zoom]

See Piazza for the Office Hours Zoom links and locations.

Course Overview

This course provides an introduction to machine learning with a special focus on engineering applications. The course starts with a mathematical background required for machine learning and covers approaches for supervised learning (linear models, kernel methods, decision trees, neural networks) and unsupervised learning (clustering, dimensionality reduction), as well as theoretical foundations of machine learning (learning theory, optimization). Evaluation will consist of mathematical problem sets and programming projects targeting real-world engineering applications.

Prerequisites

This course is intended for graduate students and qualified undergraduate students with a strong mathematical and programming background. Undergraduate level training or coursework in algorithms, linear algebra, calculus, probability, and statistics is suggested. A background in programming will also be necessary for the problem sets; students are expected to be familiar with python or learn it during the course. At CMU, this course is most similar to MLD's 10-601 or 10-701, though this course is meant specifically for students in engineering.

Textbooks

There will be no required textbooks, though we suggest the following to help you to study (all available online): We will provide suggested readings from these books in the schedule below.

Piazza

We will use Piazza for class discussions. Please go to the course Piazza site to join the course forum (note: you must use a cmu.edu email account to join the forum). We strongly encourage students to post on this forum rather than emailing the course staff directly (this will be more efficient for both students and staff). Students should use Piazza to:

The course Academic Integrity Policy must be followed on the message boards at all times. Do not post or request homework solutions! Also, please be polite.

Grading Policy

Grades will be based on the following components:

Gradescope: We will use Gradescope to collect PDF submissions of each problem set. Upon uploading your PDF, Gradescope will ask you to identify which page(s) contains your solution for each problem - this is a great way to double check that you haven't left anything out. The course staff will manually grade your submission, and you'll receive feedback explaining your final marks.

Regrade Requests: If you believe an error was made during grading, you'll be able to submit a regrade request on Gradescope. For each homework, regrade requests will be open for only 1 week after the grades have been published. This is to encourage you to check the feedback you've received early!

Academic Integrity Policy

Group studying and collaborating on problem sets are encouraged, as working together is a great way to understand new material. Students are free to discuss the homework problems with anyone under the following conditions: Students are encouraged to read CMU's Academic Integrity Policy.

Using LaTeX

Students are strongly encouraged to use LaTeX for problem sets. LaTeX makes it simple to typeset mathematical equations and is extremely useful for graduate students to know. Most of the academic papers you read were written with LaTeX, and probably most of the textbooks too. Here is an excellent LaTeX tutorial and here are instructions for installing LaTeX on your machine.

Acknowledgments

This course is based in part on material developed by Fei Sha, Ameet Talwalkar, Matt Gormley, and Emily Fox. We also thank Anit Sahu and Joao Saude for their help with course development.


Schedule (Subject to Change)

DateTopicsReadingHW
8/25 Introduction [Slides] KM, Ch. 1
8/27 MLE/MAP, Linear Algebra Review [Slides] TM, Estimating Probabilities
KM, Ch. 2 (for a refresh in probability)
Math4ML (review/refresher)
Vectors, Matrices, and Least Squares
Matrix Cookbook
8/29 Recitation [Slides] HW 1 Release
9/1 Labor Day - No Class
9/3 Linear Regression, Part I [Slides] KM, Ch. 7.1-7.3
Deep Learning Book, Ch. 5*
9/5 Recitation [Slides]
9/8 Linear Regression, Part II [Slides] KM, Ch. 7.4-7.6
Intro to regression
HW 1 due
HW 2 Release
9/10 Overfitting, Bias/variance Trade-off [Slides] Deep Learning, Ch. 5.2-5.4
9/12 Recitation
9/15 Naive Bayes CIML, Ch. 9
KM, Ch. 3.5
9/17 Logistic Regression KM, Ch. 8.1-8.4, 8.6
Discriminative vs. Generative
9/19 Recitation
9/22 Multi-class Classification HW 2 due
HW 3 Release
9/24 Guest Lecture
9/26 Recitation
9/29 SVM, Part 1 ESL, Ch. 12
KM Ch. 14.5
10/1 SVM, Part 2 Idiot's Guide to SVM
Duality Supplement
10/3 Recitation - Midterm Review
10/6 Nearest Neighbors CIML, Ch. 3.1-3.2
10/8 Midterm Exam (In-class)
10/10 Recitation Canceled
10/13 Fall Break - No Class
10/15 Fall Break - No Class
10/17 Fall Break - No Class
10/20
10/22
10/24
10/27
10/29
10/31
11/3
11/5
11/7
11/10
11/12
11/14
11/17
11/19
11/21
11/24
11/26 Thanksgiving Break - No Class
11/28 Thanksgiving Break - No Class
12/1
12/3
12/5
12/8 Final Exam Week