Course Description
This course introduces the mathematical foundations underlying modern Artificial Intelligence and Machine Learning systems. The course emphasizes intuitive and application-driven understanding of linear algebra, probability, statistics, optimization, and calculus through hands-on AI and data-centric examples. Students will develop the mathematical fluency needed to analyze, interpret, and build foundational AI/ML models and algorithms.
Course Details
- Course Numbers
- COMP 5230 (undergraduate) · COMP 6230 (graduate)
- Prerequisites
- None. Beginner Python programming recommended.
- Credit Hours
- 3
- In 2027
- You can take it in spring.
- Leads To
- Algorithms for AI
Objectives
By the end of this course, students will be able to:
- Understand the mathematical foundations that power modern AI systems.
- Reason about data, similarity, uncertainty, and optimization using mathematical tools.
- Interpret how vectors, matrices, probability, and calculus are used in machine learning and deep learning models.
- Analyze the behavior of AI systems through mathematical and geometric intuition.
- Apply mathematical thinking to practical AI tasks including prediction, classification, embeddings, and neural networks.
- Use computational tools to explore and visualize mathematical concepts in AI.
- Build confidence in reading, understanding, and implementing mathematical ideas used in AI/ML coursework and research.
Tentative Course Outline
| Week | Topics |
|---|---|
| 1 | Mathematical Thinking for AI, Data Representations, Geometry of Data |
| 2 | Scalars, Vectors, and Vector Operations, Similarity and Distance Metrics, Assignment 1 |
| 3 | Matrices, Matrix Multiplication, Linear Transformations, Systems of Equations |
| 4 | Eigenvalues, Eigenvectors, Dimensionality Reduction Intuition, Embeddings, Assignment 2 |
| 5 | Probability Fundamentals, Conditional Probability, Bayes’ Rule, Uncertainty |
| 6 | Random Variables, Common Distributions, Expectation, Variance, Correlation, Assignment 3 |
| 7 | Statistics for Machine Learning, Sampling, Hypothesis Testing, Evaluation |
| 8 | Midterm Review and Midterm Examination |
| 9 | Functions, Derivatives, Partial Derivatives, Optimization Intuition, Assignment 4 |
| 10 | Gradient Descent, Loss Functions, Convexity, Training ML Models |
| 11 | Linear Regression, Logistic Regression, Classification Intuition |
| 12 | Neural Network Mathematics, Activation Functions, Backpropagation Intuition, Assignment 5 |
| 13 | Information Theory, Entropy, Cross-Entropy Loss, Representation Learning |
| 14 | Applications in AI – Neural Networks, Generative Models |
| 15 | Fairness, Bias, and Ethical Considerations in Mathematical Models for AI |
| 16 | Course Review and Final Exam |