Mathematics for Machine Learning

mathematics

credits
4
recorded trimesters
T1
open to
year 3, 4
last offered
2026 T1

about this course

This course provides a comprehensive introduction to the mathematical principles that underpin modern machine learning and data science. It is designed to equip students with the essential tools from linear algebra, calculus, probability, and optimization that are fundamental to understanding and developing machine learning algorithms. The course begins with vector spaces, matrix algebra, and linear transformations, emphasizing their role in representing and manipulating data. Key concepts such as eigenvalues, eigenvectors, orthogonality, and matrix decompositions, including spectral decomposition and singular value decomposition (SVD), are explored with applications to dimensionality reduction and data approximation. Building on this foundation, the course introduces core machine learning techniques such as Principal Component Analysis (PCA), Linear Discriminant Analysis (LDA), regression models, and classification methods. Students will also study least squares approximation, model evaluation metrics, and the mathematical structure behind widely used algorithms. The course further develops essential tools from calculus, including gradients, Jacobians, and the chain rule, which are crucial for optimization in machine learning. Concepts from convex analysis and numerical optimization, including gradient descent and its variants, are introduced and implemented computationally. A review of probability theory is provided, leading to their applications in statistical learning and classification models such as Support Vector Machines (SVMs). Advanced topics such as duality, Lagrangian methods, and kernel-based classification are also discussed.
in these programmes2026 batch
  • mathematics

    elective · 4-year major, 4-year double major, 3-year major, 3-year double major, 4-year minor, 3-year minor, concentration (4-year), concentration (3-year)

planning & teaching

before this2
recently taught by1

Recorded in 2026 T1. Instructors may change.

Course data from Krea's term sheets (July 2026); programme rules from the departments' FYUP documents. Check anything that matters with your department.