This course provides an integrated introduction to artificial intelligence and machine learning that bridges core AI methods with modern approaches. Students develop both theoretical mastery and practical expertise by combining foundational concepts with the construction of influential AI systems.
The curriculum covers foundational materials in search, machine learning, reinforcement learning, and probability. Students then build on these to construct detailed implementations of landmark AI systems such as AlexNet, GPT-2, and AlphaZero. This rigorous approach develops the analytical skills needed to build the future AI. Finally, as an essential component, this course will address the ethics and responsible development of AI/ML technology and products.
The course emphasizes both technical excellence and ethical considerations in AI development. It serves as the foundation for 07-380 Artificial Intelligence and Machine Learning II, which explores advanced topics, research methods, and specialized applications.
The calendar of office hours (and recitations) is below.
To meet with Nihar, please send him an email with the course number in the subject line a brief topic of discussion in the body. In addition to Pat's standing office hours on the calendar above, Pat often has "OH" (or "Open") appointment slots on his office hours appointment calendar. If no there are no available OH or appointments that meet your needs, please contact Pat via a private post on Piazza with a list of times that work for you to meet.
Subject to change
(AIMA) Russell, Stuart and Peter Norvig. Artificial Intelligence: A Modern Approach, 4th Edition, available via CMU Library
Bishop, Christopher. Pattern Recognition and Machine Learning, available online
Daumé III, Hal. A Course in Machine Learning, available online
(DL) Goodfellow, Ian, Yoshua Bengio, Aaron Courville. Deep Learning, available online
(MML) Marc Peter Deisenroth, A. Aldo Faisal, and Cheng Soon Ong. Mathematics for Machine Learning, available online
Mitchell, Tom. Machine Learning, available online
Murphy, Kevin P. Machine Learning: A Probabilistic Perspective, available online
(KMPA) Shaw-Taylor, John, Nello Cristianini. Kernel Methods for Pattern Analysis, available online
| Dates | Topic | Lecture Materials (or nearest neighbor pdf prior to lecture) |
Pre-Reading | Reading (optional) |
|---|---|---|---|---|
| 1/13 Tue | 1. Introduction |
pptx
pdf Notation_Guide.pdf Math_Background.pdf |
Search Pre-reading Checkpoint due 1/14 Wed, 11:59 pm |
MML 2.1-3, 2.5, 2.6 and 3.1, 3.2.1, 3.3 |
| 1/15 Thu | 2. Heuristic Search |
pptx
(inked)
pdf
(inked) |
AIMA Ch. 3.1-6 | |
| 1/20 Tue | 3. Adversarial Search |
pptx
(inked)
pdf
(inked) |
Adversarial_Search.pdf Checkpoint due 1/19 Mon, 11:59 pm |
AIMA Ch. 5.1-2, 5.5 |
| 1/22 Thu | 4. Constraint Satisfaction Problems |
pptx
(inked)
pdf
(inked) CSP Demo |
AIMA Ch. 6.1-3, 6.5 | |
| 1/27 Tue | 5. ML Problem Formulation |
ML Problem Formulation.pdf
|
Decision Trees.pdf Checkpoint due 1/26 Mon, 11:59 pm |
Mitchell 1.1-1.2 Daumé 1 10-315 S25: pptx (inked) pdf (inked) |
| 1/29 Thu | 6. Decision Trees |
Decision Trees.pdf |
Daumé 2 Entropy, Cross-Entropy video, A. Géron Paper: ID3 10-315 S25: pptx (inked) pdf (inked) |
|
| 2/3 Tue | 7. Linear Regression | Linear Regression.pdf |
Opt and LinReg.pdf Checkpoint due 2/3 Tue, 10:00 am (before lecture) |
MML 8.2-8.2.2, 8.2.4 MML 5.2-5.5 10-315 S25: pptx (inked) pdf (inked) regression interactive.ipynb regression blind interactive.ipynb |
| 2/5 Thu | 8. Optimization | Optimization.pdf | ||
| 2/10 Tue | 9. Logistic Regression | Logistic Regression.pdf |
FeatEng and LogReg.pdf Checkpoint due 2/9 Mon, 11:59 pm |
Bishop
4.3.2, 4.3.4 S25 10-315: pdf Demos:
|
| 2/12 Thu | 10. Feature Engineering and Regularization | Model Selection.pdf |
MML 8.3.3 DL 7.1,7.8 Bishop 3.1.4 S25 10-315: pdf, pdf, and pdf Demos
|
|
| 2/17 Tue | 11. Neural Networks |
pptx
(inked)
pdf
(inked) Three Neuron Interactive Tensorflow Playground (regression) |
Neural Networks.pdf Checkpoint due 2/16 Mon, 11:59 pm |
DL 6 |
| 2/19 Thu | 12. Neural Networks (cont.) |
pptx
(inked)
pdf
(inked) Universal network Desmos Perceptron neuron Desmos |
MML 5.6 The Matrix Cookbook |
|
| 2/24 Tue | Midterm Exam 1 In-class |
Learning objectives: pdf |
||
| 2/26 Thu | 13. AI Alignment |
AI Alignment.pdf
Autonomous Scientists.pdf |
Model Cards For Model
Reporting. Margaret Mitchell, et al (2019) |
|
| 3/3 Tue | No class: Spring Break | |||
| 3/5 Thu | No class: Spring Break | |||
| 3/10 Tue | 14. Computer Vision | Computer Vision.pdf |
CNNs.pdf Checkpoint due 3/9 Mon, 11:59 pm |
DL 9 S25 10-315: pptx (inked) pdf (inked) |
| 3/12 Thu | 15. Pre-training/Transfer Learning/Fine-tuning | Pre-training/Transfer Learning/Fine-tuning.pdf | PyTorch Basics Tutorial | |
| 3/17 Tue | 16. MLE and Probabilistic Modeling |
MLE.pdf |
MLE.pdf Checkpoint due 3/16 Mon, 11:59 pm |
MML 9-9.2.2 Bishop 1.2.4-5, 3.1.1-2 S25 10-315: pptx (inked) pdf (inked) |
| 3/19 Thu | 17. MLE (cont.) & Natural Language Processing |
NLP:
pptx
(inked)
pdf
(inked) N-grams Worksheet: pptx (sol) pdf (sol) |
||
| 3/24 Tue | 18. Markov Chains, N-grams |
pptx (inked)
pdf (inked) Demo: Find N-grams Demo: N-grams |
Word Embeddings.pdf Checkpoint due 3/23 Mon, 11:59 pm |
|
| 3/26 Thu | 19. Feature Learning, Word Embedding |
pptx
(inked)
pdf
(inked)
Demos: |
The Illustrated Word2vec. Jay Alammar |
|
| 3/31 Tue | 20. Attention, Transformers, LLMs |
pptx
(inked)
pdf
(inked) Demos: |
The Illustrated {
Attention →
Transformer →
GPT-2
}. Jay Alammar Video (and code): Let's build GPT. Andrej Karpathy Demo: Rotary Position Encoding 2D |
|
| 4/2 Thu | 21. Markov Decision Processes |
pptx (inked) pdf (inked) |
MDP.pdf Checkpoint due 4/1 Wed, 11:59 pm |
AIMA Ch. 17.1-2 |
| 4/7 Tue | 22. Reinforcement Learning | pptx (inked) pdf (inked) | No checkpoint due this week | AIMA Ch. 22.1-4.3 |
| 4/9 Thu | No class: Carnival | |||
| 4/14 Tue |
23. Deep Reinforcement Learning |
10-301/601 S25: pdf |
Approx Q-learning.pdf Checkpoint due 4/13 Mon, 11:59 pm |
AIMA Ch. 22.4, 22.7 Playing Atari with Deep Reinforcement Learning Mnih, et al, 2013. Human-level control through deep reinforcement learning Mnih, et al, 2015. |
| 4/16 Thu | 24. Monte Carlo Tree Search | 10-403 S26: pdf dropbox |
AIMA Ch. 5.4 A general reinforcement learning algorithm that masters chess, shogi, and Go through self-play Silver, et al, 2018. |
|
| 4/21 Tue | Midterm Exam 2 In-class |
Learning objectives: pdf |
||
| 4/23 Thu | 25. LLM Post Training | |||
| Study n'at | ||||
| 5/4 Mon | Final Exam GHC 4401 (Rashid) |
Full course learning objectives: pdf |
Recitation starts the first week of class, Friday, Jan. 16th. Recitation attendance is recommended to help solidify weekly course topics. That being said, the recitation materials published below are required content and are in scope for midterms 1 and 2. Students frequently say that recitations are one of the most important aspects of the course.
Recitation section assignments will be locked down after the third week. Until then, you may try attending different recitation sections to find the best fit for you. In the case of any over-crowded recitation sections, priority goes to students that are officially registered for that section in SIO. The process to select your final recitation assignment will be announced on Piazza as we get closer to Recitation 4.
Recitations will be on Fridays in the following individual recitation sections:
| Section | Time | Location | TAs | Resources |
|---|---|---|---|---|
| A | Friday 10:00 am - 10:50 am | WEH 4708 | Max & Roy | Drive folder | B | Friday 11:00 am - 11:50 am | WEH 4708 | Johnny & Eungyeup | Drive folder |
| C | Friday 12:00 pm - 12:50 pm | DH 1117 | Ellyse & Sunny | Drive folder |
| D | Friday 1:00 pm - 1:50 pm | GHC 4211 | Steven & Avi | Drive folder |
| E | Friday 2:00 pm - 2:50 pm | WEH 4708 | Steven & Avi | Drive folder |
| Dates | Recitation | Handout/Code |
|---|---|---|
| CMU-Qatar | Recitation 0: Numpy |
pptx
pdf
(recording)
NumPy_tutorial.ipynb NumPy_Rec0_Practice.ipynb (solution) |
| 1/16 Fri | Recitation 1: Search | Worksheet: pdf (solution) |
| 1/23 Fri | Recitation 2: Adversarial Search & CSPs | Worksheet: pdf (solution) |
| 1/30 Fri | Recitation 3: Decision Trees | Worksheet: pdf (solution) |
| 2/6 Fri | Recitation 4: Matrix Calc & Linear Regression | Worksheet: pdf (solution) |
| 2/13 Fri | Recitation 5: Logistic Regression & Regularization | Worksheet: pdf (solution) |
| 2/20 Fri | Recitation 6: Neural Networks | Worksheet: pdf (solution) |
| 2/27 Fri | Recitation 7: PyTorch | Slides, Notebook |
| 3/6 Fri | No recitation -- Spring Break | |
| 3/13 Fri | Recitation 8: CNNs | Worksheet: pdf (solution) |
| 3/20 Fri | Recitation 9: MLE & Tutorial on LaGrange Multipliers | Worksheet: pdf (solution) |
| 3/27 Fri | Recitation 10: Word Embeddings | Worksheet: pdf (solution) |
| 4/3 Fri | Recitation 11: Attention and MDPs | Worksheet: pdf (solution) |
| 4/10 Fri | Recitation 12 | Worksheet: pdf (solution) |
| 4/17 Fri | Recitation 13: Approx. Q-learning + MCTS | Worksheet: pdf (solution) |
| 4/24 Fri | Recitation 14 | Worksheet: pdf (solution) |
There will be twelve assignments with three possible components each: programming/written/online (subject to change). Written/online assignments will involve working through algorithms presented in the class, deriving and proving mathematical results, and critically analyzing material presented in class. Programming assignments will involve writing code in Python to implement various algorithms.
There will also be weekly pre-reading assignments and associated checkpoints.
For any assignments that aren't released yet, the dates below are tentative and subject to change.
| Homework | Link (if released) | Due Date |
|---|---|---|
| HW0 (online) | Online | 1/15 Thu, 11:59 pm |
| HW1 (online, written, programming) |
Online hw1.pdf, hw1_tex.zip hw1.ipynb |
1/22 Thu, 11:59 pm |
| HW2 (online, written, programming) |
Online hw2.pdf, hw2_tex.zip HW2 Programming |
1/29 Thu, 11:59 pm |
| HW3 (online only) | Online | 2/5 Thu, 11:59 pm |
| HW4 (written only) | hw4.pdf, hw4_tex.zip, | 2/12 Thu, 11:59 pm |
| HW5 (mostly programming) |
Online hw5.pdf, hw5_tex.zip hw5.ipynb |
2/19 Thu, 11:59 pm |
| HW6 (mostly written) | hw6.pdf, hw6_tex.zip, | 2/26 Thu, 11:59 pm |
| HW7 (mostly programming) |
hw7.pdf,
hw7_tex.zip hw7.ipynb |
3/12 Thu, 11:59 pm |
| HW8 (mostly programming): Building AlexNet |
Online hw8.pdf, hw8_tex.zip hw8_v0_3_1.ipynb |
3/19 Thu, 11:59 pm |
| HW9 (online, written, programming) |
Online hw9.pdf, hw9_tex.zip hw9.ipynb |
3/26 Thu, 11:59 pm |
| HW10 (online, programming) | Online hw10.ipynb | 4/2 Thu, 11:59 pm |
| HW11 (online, programming, written): Building GPT2 |
Online hw11.pdf, hw11_tex.zip hw11[GPT].ipynb HW11[RL] Programming |
4/16 Thu, 11:59 pm |
| HW12 (online, programming): Building AlphaZero |
Online hw12.ipynb |
4/24 Fri, 11:59 pm |
| Pre-reading | Link (if released) | Due Date |
|---|---|---|
| PR1: Search | Checkpoint | 1/14 Wed, 11:59 pm |
| PR2: Adversarial Search | Checkpoint | 1/19 Mon, 11:59 pm |
| PR3: Decision Trees | Checkpoint | 1/26 Mon, 11:59 pm |
| PR4: Optimization and Linear Regression | Checkpoint | 2/3 Tue, 10:00 am (before lecture) |
| PR5: Feature Engineering and Logistic Regression | Checkpoint | 2/9 Mon, 11:59 pm |
| PR6: Neural Nets | Checkpoint | 2/16 Mon, 11:59 pm |
| No PR7 | --- | --- |
| PR8: CNNs | Checkpoint | 3/9 Mon, 11:59 pm |
| PR9: MLE | Checkpoint | 3/16 Mon, 11:59 pm |
| PR10 | Checkpoint | 3/23 Mon, 11:59 pm |
| PR11 | Checkpoint | 3/30 Mon, 11:59 pm |
| PR12 | No Pre-reading this week | N/A |
| PR13 | Released 4/8 Wed | 4/13 Mon, 11:59 pm |
| No PR14 | --- | --- |
In addition to the pre-reading notes, below are course notes on some of the topics developed by the course staff over the years.
| Topic | Link (if released) | |
|---|---|---|
| Math and Probability Basics |
07-280 Notation Guide Math Background Probability Background Discrete Probability Reference Sheet |
|
| Search & Adversarial Search |
Search (Pre-reading) Adversarial Search (Pre-reading) Search & Adversarial Search Notes |
|
| CSPs | CSP Notes | |
| Decision Trees | Decision Trees (Pre-reading) | |
| Optimization and Linear Regression | Opt. and Lin. Reg. (Pre-reading) | |
| Feature Engineering and Logistic Regression | Feat. Eng. and Log. Reg. (Pre-reading) | |
| Neural Networks | Neural Networks (Pre-reading) | |
| CNNs |
CNNs (Pre-reading) |
|
| MLE |
MLE (Pre-reading) |
|
| Word Embeddings |
Word Embeddings (Pre-reading) |
|
| Markov Decision Process | MDP Notes | |
| Reinforcement Learning |
RL Notes Approximate Q-learning (Pre-reading) |
The course includes two midterm exams and a final exam. The midterms will take place in lecture on Tue, Feb 24 and Tue, Apr 21. The final exam date will be announced by the university mid-semester. The final exam could be as late as Mon, May 4 and the makeup exam date is Tue, May 5. Plan any travel around exams, as exams will not be rescheduled.
Grades will be collected and reported in Canvas. Please let us know if you believe there to be an error the grade reported in Canvas.
Final scores will be composed of:
This class is not curved. However, we convert final course scores to letter grades based on grade boundaries that are determined at the end of the semester. What follows is a rough guide to how course grades will be established, not a precise formula — we will fine-tune cutoffs and other details as we see fit after the end of the course. This is meant to help you set expectations and take action if your trajectory in the class does not take you to the grade you are hoping for. So, here's a rough heuristics about the correlation between final grades and total scores:
This heuristic assumes that the makeup of a student's grade is not wildly anomalous: exceptionally low overall scores on exams, programming assignments, or written assignments will be treated on a case-by-case basis and, while rare, could potentially drop a student's grade.
Precise grade cutoffs will not be discussed at any point during or after the semester.
In class, we will use a series of polls as part of an active learning technique called Peer Instruction. Your participation grade will be based on the percentage of these in-class poll questions answered:
It is against the course academic integrity policy to answer in-class polls when you are not present in lecture. Violations of this policy will be reported as an academic integrity violation. Information about academic integrity at CMU may be found at https://www.cmu.edu/academic-integrity.
Pre-reading checkpoints don't have any extensions or late days. However, the lowest two checkpoints will be dropped when computing your semester score. Reasoning: We want to make sure that everyone is able to complete the pre-reading prior to lecture, so we can build on that knowledge in class; minor illness and other minor disruptive events outside of your control happen occasionally and thus dropping the lowest two scores. See below for information on rare exceptions.
You have a pool of 6 late days across all written, programming and online assignment types
Aside from late days, dropping the lowest checkpoints, and the 80% threshold for participation, there will be no extensions on assignments in general. If you think you really really need an extension on a particular assignment, e-mail Brynn, bedmunds@andrew.cmu.edu, as soon as possible and before the deadline. Please be aware that extensions are entirely discretionary and will be granted only in exceptional circumstances outside of your control (e.g., due to severe illness or major personal/family emergencies, but not for competitions, club-related events, or interviews). The instructors will require confirmation from your academic advisor, as appropriate.
We certainly understand that unfortunate things happen in life. However, not all unfortunate circumstances are valid reasons for an extension. Nearly all situations that make you run late on an assignment homework can be avoided with proper planning - often just starting early. Here are some examples:
We encourage you to discuss course content and assignments with your classmates. However, these discussions must be kept at a conceptual level only. You may use generative AI tools to better learn course content, but they may not be used to generate any part of your assignment submission. (Yes, these tools are awesome and you should learn how to use them well.
The only exception to the above collaboration policy is when you share programming code directly with your programming assignment partner.
Violations of these policies will be reported as an academic integrity violation. Information about academic integrity at CMU may be found at https://www.cmu.edu/academic-integrity. Please contact the instructor if you ever have any questions regarding academic integrity or these collaboration policies.
If you have a disability and have an accommodations letter from the Disability Resources office, we encourage you to discuss your accommodations and needs with us as early in the semester as possible. We will work with you to ensure that accommodations are provided as appropriate. If you suspect that you may have a disability and would benefit from accommodations but are not yet registered with the Office of Disability Resources, we encourage you to visit their website.
Take care of yourself. Do your best to maintain a healthy lifestyle
this semester by eating well, exercising, getting enough sleep, and
taking some time to relax. This will help you achieve your goals and
cope with stress.
All of us benefit from support during times of struggle. There are many
helpful resources available on campus and an important part of the
college experience is learning how to ask for help. Asking for support
sooner rather than later is almost always helpful.
If you or anyone you know experiences any academic stress, difficult
life events, or feelings like anxiety or depression, we strongly
encourage you to seek support. Counseling and Psychological Services
(CaPS) is here to help: call 412-268-2922 and visit their website at
http://www.cmu.edu/counseling/.
Consider reaching out to a friend, faculty or family member you trust
for help getting connected to the support that can help.
If you have questions about this or your coursework, please let us
know. Thank you, and have a great semester.
Question not answered here? Please fill out this form.
Both courses cover sufficient material for an intro machine learning course 07-280 includes non-ML AI techniques, while 10-301 focuses only on ML, naturally reaching a few additional ML topics.
| 07-280 | 10-301 | |
|---|---|---|
| Prereqs (see course description for detailed course numbers) |
Prereq: 15-122 Coreq: Probability Prereq: Linear Algebra Prereq: 15-151/Concepts Coreq: Calc 2 |
Prereq: 15-122 or 15-121 Prereq: Probability Prereq: (Linear Algebra or Calc 3 or 151/Concepts) |
| Fulfills the Intro ML prereq for later ML (10-XXX) courses | check_circle | check_circle |
| Fulfills the 07-280 prereq for 07-380 AI/ML II | check_circle | No, but if you've already taken 10-301 (and thus can't take 07-280), email bsai@cs.cmu.edu to discuss alternative pathways for taking 07-380. |
| Fulfills the 07-280 requirement for the AI Major, Additional Major, and Minor |
check_circle | No, but if you've already taken 10-301 (and thus can't take 07-280), email bsai@cs.cmu.edu to discuss alternative pathways for satisfying the AI Core requirements. |
| Fulfills the AI elective for the Computer Science Major and Additional Major | check_circle | check_circle |
| Fulfills the Intro ML requirement for the Stat/ML Major | check_circle | check_circle |
| Fulfills the Intro ML prereq for the ML Concentration Minor | check_circle | check_circle |
| Fulfills the Intro ML prereq for the 5th year ML Master's | check_circle | check_circle |
| Topics: ML fundamentals from decision trees to neural networks | check_circle | check_circle |
| Topics: Transformer networks and Large Language Models | check_circle | check_circle |
| Topics: Reinforcement Learning | check_circle | check_circle |
Additional topics:
|
check_circle | |
Additional topics:
|
check_circle | |
| TA mascot | 🤷 | Neural the Narwhal |
The goal is to replace the older AI and ML courses, 15-281 and 10-315, with two sequenced courses, 07-280 and 07-380, covering the breadth and depth required by the AI majors, with the first of the two courses covering core AI and ML concepts for SCS students taking only one AI course, as well as anyone at CMU who wants a good technical introduction to the field.
This restructure will provide the following benefits:
No, 15-281 and 10-315 are being retired and will not be offered in the future.
The new courses will be taught by a mix of faculty, primarily from the Machine Learning and Computer Science Departments.
In Spring 2026, 07-280 will be taught by Nihar Shah (CSD/MLD) and Pat Virtue (CSD/MLD), and 10-301 will be taught by Matt Gormley (MLD) and Pat Virtue (CSD/MLD).
Both courses, 07-280 and 07-380, will be offered every semester (Fall and Spring), with 07-380 first being offered in Fall 2026.
07-380 is designed to be more flexible in its topics from semester to semester, adapting based on our faculty's best understanding of what additional/advanced AI/ML topics students need to learn, especially those graduating with a major/minor in AI. It builds upon 07-280, so we'll be able to explore more advanced topics in greater depth, while also increasing the breadth of topics across all of AI.
Potential topics include: Deeper AI/ML Ethics, MAP, ML Theory: PAC Learning, PCA, Clustering and K-means, Ensemble Methods: Bagging and Boosting, Recommender Systems, Linear programming, Integer programming, Propositional Logic, SAT, and Logical Agents, Classical Planning, Bayes' Nets: Representation, Bayes' Nets: Inference, Bayes' Nets: Sampling, HMMs, Game Theory: Equilibrium, Game Theory: Social Choice, Vision Transformers, Variational Autoencoders, Diffusion, Text to Image Generation, Distributed Deep Learning, Optimization: RMS, Momentum, Stability, RLHF and DPO.
Yes, the prerequisites and corequisites are strict requirements for enrollment in 07-280.