Hasso-Plattner-InstitutSDG am HPI
Hasso-Plattner-InstitutDSG am HPI

Mathematics for Machine Learning (Wintersemester 2021/2022)

Lecturer: Prof. Dr. Christoph Lippert (Digital Health - Machine Learning) , Dr. Masoumeh Javanbakhat (Digital Health - Machine Learning)

General Information

  • Weekly Hours: 4
  • Credits: 6
  • Graded: yes
  • Enrolment Deadline: 01.10.2021 -22.10.2021
  • Teaching Form: Lecture
  • Enrolment Type: Compulsory Elective Module
  • Course Language: English

Programs & Modules

Data Engineering MA
IT-Systems Engineering MA
Digital Health MA
  • SCAD-Concepts and Methods
  • SCAD-Technologies and Tools
  • SCAD-Specialization
  • APAD-Concepts and Methods
  • APAD-Technologies and Tools
  • APAD-Specialization


Both lectures and tutorials start in the second week only XXXXX

Note that due to the online teaching format, there will be (asynchronous) online videos, but in exchange no lectures on Tuesdays (see format below)!

Course Moodle: XXXXXXXX
The course is also open to non-HPI students. If you don't have an HPI account to log into Moodle, send us a mail!



Machine learning uses tools from a variety of mathematical fields.

During this applied mathematics course, we cover a summary of the mathematical tools from linear algebra, calculus, optimization and probability theory that are commonly used in the context of machine learning. Beyond providing the solid mathematical foundation that is required for machine learning, we derive and discuss important machine learning concepts and algorithms.

Vector Spaces, Linear maps
Metric spaces, Normed Spaces, Inner Product Spaces
Eigenvalues, Eigenvectors, Trace, Determinant
Orthogonal matrices, Symmetric matrices
Positive (semi-)definite matrices
Singular value decompositions, Fundamental Theorem of Linear Algebra
Operator and matrix norms
Low-rank approximation
Pseudoinverses, Matrix identities
Extrema, Gradients, Jacobian, Hessian, Matrix calculus
Taylor's theorem, Conditions for local minima
Gradient descent
Second order methods
Stochastic gradient descent
Random Variables, Joint distributions
Great Expectations
Variance, Covariance, Random Vectors
Estimation of Parameters, Gaussian distribution
Frequentist vs. Bayesian Statistics
Expectation Maximization
Teaser in calculus of variations


Basic knowledge in Analysis/Calculus und Linear Algebra (equivalent to Bachelor lecture Mathematics II)





Asynchronous lecture videos and exercise sessions via Zoom videoconferencing.

Materials and exercises will be managed over Moodle: XXXXXXX
The course is also open to non-HPI students. If you don't have an HPI account to log into Moodle, send us a mail!


Written Exam at the end of the semester (100% of the grade).

Regular homework exercise sheets are required to be eligible for taking the exam (at least 50% of all points).


Lectures & Tutorials will start in the second week only XXX



Contrary to the timetable, there will be no lecture on Tuesdays, but instead videos with the material (link on moodle).
Lectures XXXXXXXXX will be held over Zoom (link on moodle) and be in a Q&A style, discussing the topics of the week.



Mondays, XXXX