Skip to content
Technische Universität Berlin Deutsch
Course catalog and module transfer system

Python for Machine LearningModule description #41143 / Version 2

← Module page Deutsche Fassung
This module description is not valid in the current semester (Winter semester 2026/27). Current version (v7)
Module / Version#41143 / #2
ValiditySummer semester 2024 – Summer semester 2024
Available language(s)English
Credit points6
Person responsible for the moduleMüller, Klaus-Robert
GradingGraded
Exam formatWritten exam
Language(s) of instructionEnglish

Affiliation

FacultyFakultät IV
InstituteInstitut für Softwaretechnik und Theoretische Informatik
Academic chair34352000 FG Maschinelles Lernen

Contact

OfficeFR 6-1
Contact personWolff, Jannik
E-mail addresspyml@ml.tu-berlin.de
Websitehttps://web.ml.tu-berlin.de/teaching/courses/

Learning outcomes

The students have a deep theoretical understanding of Python programming, which they can apply autonomously using standard programming tools such as Jupyter notebooks and a debugger.

Specifically, Students understand general principles underlying Python programming, e.g., Python syntax and advanced paradigms of functional and object-oriented programming. They can apply these skills to advanced data science and machine learning tasks. This includes efficiently and compactly implementing complex tensor operations and implementing visualization methods.

Content

The module briefly motivates Python by contrasting it to other programming paradigms (e.g., Julia or C). The module introduces Python-specific programming principles, e.g., duck typing or idiomatic constructs (“Pythonic” syntax) such as generator comprehensions. Students implement visualization code primarily using the framework Matplotlib.

The module teaches the application of the learned programming skills to machine learning (ML) problems, which includes conceptually understanding exemplary ML tasks. For example, the module teaches the implementation of complex tensor operations (often relevant in machine learning) using acceleration frameworks (such as NumPy or PyTorch) that ensure compact syntax and efficient computation.

The module teaches the use of programming environments such as Jupyter notebooks and tools like debuggers, which can also be used during the exam.

Module components

Compulsory area

The following courses are mandatory for this module:

CoursesTypeNumberFrequencyLanguageHours per weekCourse catalog
Python for Machine LearningIntegrated course Winter and summer semester[en]4 ISIS

Courses in the course catalog

Courses created from the teaching units of this module.

Winter semester 2026/27 (2)

Python for Machine Learning (Integrated course) 2

All groups of this course in the catalog

Workload and credit points

Python for Machine Learning (Integrated course)

Workload descriptionMultiplierHoursTotal
Lectures92 h18 h
Tutorials92 h18 h
Preparation/follow-up work for the lectures93 h27 h
Preparation/follow-up work for the tutorials (including homework)98 h72 h
Preparation for the exam145 h45 h
180 h

The workload of the module adds up to 180 hours. The module therefore comprises 6 credit points.

Description of teaching and learning methods

The module exhibits a hybrid format: On the one hand, the course instructors teach some of the content in person in a guided format. On the other hand, students learn to program autonomously and individually while establishing a sound theoretical understanding of programming paradigms and relevant machine-learning problems.

Specifically, the module takes place over nine weeks with weekly lectures and tutorial sessions. Some weeks contain homework exercises. These must be done individually, although the tutorials provide help if necessary, and possible solutions are discussed after the homework deadline.

Requirements for participation and examination

Desirable prerequisites for participation in the courses:

Students should know basic programming principles such as recursion - in Python or any other programming language. They should know basic mathematical principles, e.g., knowledge of linear algebra helps understand the implementation of complex tensor operations.

Mandatory requirements for the module examination registration:

This module has no examination requirements.

Completion of the module

GradingGraded
Exam formatWritten exam
LanguageEnglish
Duration/Extent120 minutes

Duration of the module

The following number of semesters is estimated for taking and completing the module: 1 semester(s).

This module can be started in the following semesters: Winter and summer semester.

Maximum number of participants

The maximum capacity of participants is 180.

Registration procedures

Please check the module’s website (to be found at the website of the Machine Learning Group at TU Berlin).

Recommended reading, lecture notes

Lecture notes

unavailable

Electronic lecture notes

available

Recommended literature

No recommended literature given

Assigned programs

This module is not used in any program.

Miscellaneous

The exam is digital, i.e., students write code in Jupyter notebooks and have access to a Python interpreter, documentation (via Python's standard library), and a simple Python debugger. The exam takes place in person, i.e., it is not an online exam. Therefore, the maximum capacity of the course is set to 180 students (which equals the maximum capacity of the examination computer room).

Students can bring an A4 sheet (with arbitrary content on both sides) into the exam.