EEC 351: Fundamentals of AI/ML

Archived course page — Autumn 2026-27 offering

This is the archived page for the Autumn 2026-27 offering. The course has concluded; readings, demos and notes below stay available for reference.

Course information

SemesterAutumn 2026–27 InstructorParikshit Pareek · pareek [at] ee.iitr.ac.in LecturesThu · 16:05 – 17:00 @ GB005 · Fri · 17:05 – 18:00 @ GB005 Office hoursMon · 16:05 – 17:00 @ 214A, EE (instructor's office) PiazzaJoin the class · access code eec351 Teaching assistantsAyushi Jolotia · ayushi_j [at] ee.iitr.ac.in
Kaustubh Sharma · kaustubh_s [at] ee.iitr.ac.in

Announcements

  • 2026‑10‑19 — An announced quiz will be held in the upcoming two weeks. Syllabus: everything taught so far. The date will be posted here and on Piazza.
  • 2026‑08‑25 — Extra Class PR1 · Probability Review on Monday, 31 August 2026, 16:05 – 17:00 @ GB005. Covers the Probability Review module (row PR1 under Course content); read the notes beforehand.
  • 2026‑08‑14 — The Linear Algebra Review module is live under Course content (rows LA1–LA8), with readings and interactive demos. You can browse all of our demos via explainer hub.
  • 2026‑08‑14 — Lecture schedule updated; see Course information above.
  • 2026‑07‑08 — First class is on Thursday, 16 July 2026.
  • 2026‑06‑18 — Course website for the Autumn 2026-27 offering is live. Announcements are posted here regularly; email is sent only when something is urgent.

Course objectives

  • Comprehend the historical evolution and foundational concepts of AI/ML.
  • Build mathematical intuition for machine-learning principles.
  • Explore core theoretical frameworks and evaluation strategies.

Course content

# Topic Slides Essential reading Additional Homework
0 Kick-off Slides -- The Course in One Picture --
1 History of AI and Machine Learning Slides Kolter & Do, Linear Algebra Review & Reference (CS229) §1–2
Boyd & Vandenberghe, Introduction to Applied Linear Algebra (VMLS) Ch. 1–3
Watch Imitation Game
Turing Machine-- Short
--
LA1 Notation & basic objects; vector/matrix products; properties of matrix multiplication -- Kolter & Do §1–2 3Blue1Brown, Essence of Linear Algebra
Deisenroth, Faisal & Ong, Mathematics for Machine Learning (Ch. 2–4)
--
LA2 Transpose, symmetric matrices, trace; norms, Cauchy–Schwarz & cosine similarity -- Kolter & Do §3.2–3.5 EEC_351_Demo: ℓₚ Unit Balls
EEC_351_Demo: Cosine Similarity
--
LA3 Matrix inverse; span, range & linear independence -- Kolter & Do §3.6–3.9 -- --
LA4 Linear projection & least squares -- Kolter & Do §3.9, §4.4 EEC_351_Demo: Least Squares Line Fitting --
LA5 Determinant; condition number & numerical sensitivity -- Kolter & Do §3.10 (condition number: supplementary — see Trefethen & Bau, Numerical Linear Algebra) -- --
LA6 Quadratic forms; symmetric & positive (semi)definite matrices -- Kolter & Do §3.11 -- --
LA7 Eigenvalues & eigenvectors; Diagonalization & the spectral theorem; eigenvalues as optimization -- Kolter & Do §3.12–3.13, §4.6 EEC_351_Demo: Eigenvectors as Fixed Directions
EEC_351_Demo: Rotate · Scale · Rotate
Setosa, Eigenvectors & Eigenvalues, Explained Visually
--
LA8 SVD; PCA; Matrix calculus (Self) -- Kolter & Do §4.1–4.3 EEC_351_Demo: PCA Playground
Setosa, Principal Component Analysis, Explained Visually
Petersen & Pedersen, The Matrix Cookbook
--
PR1 Probability Review (Self+Extra Class) -- Probability Review --
OPT1 Why optimize; anatomy of a problem; stationarity & convexity; the Lagrangian (shadow price, scalarization) -- Deisenroth, Faisal & Ong, Mathematics for ML Ch. 7 (§7.1–7.3) Boyd & Vandenberghe, Convex Optimization Ch. 1, §3.1–3.2, §4.7, §5.6
Khan Academy, Interpretation of Lagrange Multipliers
--
OPT2 Gradient descent: steepest descent; step size & curvature; descent lemma; condition number & zigzag; line search -- Dive into Deep Learning §12.3 Gradient Descent
Dive into Deep Learning §12.1–12.2 (optimization & convexity)
Boyd & Vandenberghe §9.2–9.4 (descent methods, backtracking, steepest descent)
Strang, MIT 18.065 Lec. 22: Gradient Descent
Boyd, EE364a slides §9 Unconstrained Minimization
--
OPT3 Stochastic gradient descent: unbiased minibatch gradients; the √B law; noise floor; step-size schedules -- Dive into Deep Learning §12.4 SGD
Dive into Deep Learning §12.5 Minibatch SGD
Dive into Deep Learning §12.11 Learning-Rate Scheduling
Bottou, Curtis & Nocedal, Optimization Methods for Large-Scale ML §3.3, §4.2 (Thms 4.6–4.7)
Strang, MIT 18.065 Lec. 25: Stochastic Gradient Descent
--
EBM Linear classifiers; perceptron, hinge & logistic losses; MSE vs likelihood; NLL as push-down / pull-up -- LeCun et al., A Tutorial on Energy-Based Learning §2.1, §2.2.1–2.2.4 (NLL gradient: eq. 24) Goodfellow, Bengio & Courville, Deep Learning §5.5, §5.5.1, §5.7.1
Bishop, Pattern Recognition and Machine Learning §1.2.5, §3.1.1, §4.3.4
--
LT1 Learning From Data Ch. 1, The Learning Problem: problem setup (target, hypothesis set, algorithm); types of learning; is learning feasible? (Hoeffding); error and noise -- Abu-Mostafa, Magdon-Ismail & Lin, Learning From Data Ch. 1
Chan, Learning Theory notes §4.1–4.2
Caltech CS156 Lec. 1: The Learning Problem (video)
Caltech CS156 Lec. 2: Is Learning Feasible? (video)
Caltech CS156 Lec. 4: Error and Noise (video)
--
CI Concentration inequalities: the sample average; Markov, Chebyshev & Hoeffding (with proof); sample complexity; laws of large numbers -- Abhishek et.al., Introduction to Concentration Inequalities §3.1–3.5 Chan, Introduction to Probability for Data Science Ch. 6 (§6.2.4–6.2.8, §6.3)
Duchi, CS229 Supplemental Notes: Hoeffding's Inequality
HW
LT2 Learning From Data Ch. 2, Training versus Testing: union bound & growth function; break point & VC dimension; VC generalization bound; bias–variance tradeoff -- Abu-Mostafa, Magdon-Ismail & Lin, Learning From Data Ch. 2
Chan, Learning Theory notes §4.3–4.4
Caltech CS156 Lec. 5: Training versus Testing (video)
Caltech CS156 Lec. 6: Theory of Generalization (video)
Caltech CS156 Lec. 7: The VC Dimension (video)
Caltech CS156 Lec. 8: Bias-Variance Tradeoff (video)
Ng, CS229 Lecture Notes: Learning Theory
--

Assignments

  • Assignments will be posted here as they are released. TBA.
  • Python is the default programming language for the course; use it unless a task explicitly allows otherwise.
  • Submit via Moodle, Google Form, or GitHub — as specified in each assignment.
  • Honor code: any copying earns a zero on the assignment; more severe penalties may follow.
  • Late submissions incur penalties as announced with each assignment.

References & resources

Recommended texts

  • Probabilistic Machine Learning: An Introduction — Kevin Murphy, MIT Press, 2022/2023.
  • Learning from Data: A Short Course — Yaser S. Abu-Mostafa, Malik Magdon-Ismail & Hsuan-Tien Lin, AMLBook, 2017.

Supplementary

  • Coursera ML (Andrew Ng)
  • Relevant paper links shared on Piazza

Grading policy

  • CWS — 30 marks: announced & surprise quizzes; assignments & peer discussions.
  • MTE — 30 marks: written exam (any format).
  • ETE — 40 marks: written exam (any format).

Exam papers