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.


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.


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.


We will use Piazza for class discussions. Please go to the course Piazza site to join the course forum (note: you must use a 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.

Staff Contact Info


Prof. Gauri Joshi
Prof. Yuejie Chi


Rahul Anand Sharma
Shimiao Li
Sundar Anand
Tuhinangshu Choudhury
Diogo Cardoso
Pedro Valdeira

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 Policy on Cheating and Plagiarism.

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.


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)

DateTopics ReadingHW
8/31 Intro & Math Quiz[Slides] KM, Ch.1
9/2 MLE/MAP, Linear Algera Review[Slides] TM, Estimating Probabilities
KM, Ch. 2 (for a refresh in probability)
Math4ML (review/refresher)
Vectors, Matrices, and Least Squares
Matrix Cookbook

HW1 released
Jupyter Notebook
9/3 Recitation[Slides]
9/7 Linear Regression, part I[Slides] KM, Ch. 7.1-7.3
Deep Learning Book, Ch. 5*

9/9 Linear Regression, part II[Slides] KM, Ch. 7.4-7.6
Intro to regression

9/10 Recitation[Slides]
9/12 HW1 due
HW2 released
9/14 Overfitting, Bias/variance Trade-off, Evaluation[Slides] Deep Learning, Ch. 5.2-5.4
KM, Ch. 6.4

9/16 Naive Bayes[Slides] CIML, Ch. 9
KM, Ch. 3.5

9/17 Recitation[Slides]
9/21 Logistic Regression[Slides] KM, Ch. 8.1-8.4, 8.6
Discriminative vs. Generative

9/23 Multi-class Classification[Slides] KM, Ch. 8.5
9/24 Recitation[Slides] HW2 due
HW3 released
9/28 SVM, part I[Slides] ESL, Ch. 12
KM Ch. 14.5
Kernel Methods

9/30 SVM, part II[Slides] Duality Supplement
Idiot's Guide to SVM

10/1 Recitation[Slides]
10/5 Graphical Models 1[Slides] MJ, Ch. 2, 3, 12
10/7 Graphical Models 2[Slides]
10/8 Recitation HW3 due
HW4 released
10/12 Nearest Neighbors[Slides] CIML, Ch. 3.1-3.2
10/14 Mid-semester break
10/15 Recitation[Slides]
10/19 Midterm
10/21 Decision Trees[Slides] CIML, Ch. 1.3
KM, Ch. 16.2
ESL, Ch. 9.2

10/22 Recitation[Slides] HW4 due
HW5 released
10/26 Boosting, random forests[Slides]
10/28 Neural Networks, Part I[Slides] Learning Deep Architectures for AI

10/29 Pytorch Recitation
11/2 Neural Networks, Part II [Slides] Neural Networks and Deep Learning, Ch.3
Regularization for Deep Learning

11/4 Clustering, Part I[Slides] CIML, Ch. 15.1
11/5 No class - community engagement HW5 due
HW6 released
11/9 Clustering, Part II[Slides] ESL, Ch. 14.3.1-14.3.9
11/11 Dimensionality Reduction[Slides] PCA
Independent Component Analysis

11/12 Recitation[Slides]
11/16 Online Learning (Bandits)[Slides]
11/18 Reinforcement Learning, part I [Slides]
11/19 Recitation[Slides] HW6 due
HW7 released
11/23 Reinforcement Learning, part II [Slides]
11/25 Thanksgiving Holiday
11/26 No recitation this week
11/30 Last Lecture: review HW7 - des due
12/2 Final Exam
12/3 Office Hours for HW7 HW7 due