After successful completion of the course, students are able to intimately understand the "tool" of machine learning and its application to problems in physics.

For a given problem in physics, they will be able to:

- analyze whether Machine Learning is applicable,
- translate the problem into a suitable optimization problem,
- decide which learning algorithm to employ for its solution,
- program simple routines themselves as well as use libraries where applicable, and
- understand and verify the results of the learning procedure.

We will cover the following topics in the lectures:

- Simple optimization problems, gradient descent
- Supervised learning, over-/underfitting, regularization
- Linear model, singular value decomposition
- Non-linear models, classification problems
- Artificial neural networks
- Unsupervised learning, clustering
- Low-rank decompositions, principal component analysis
- Reinforcement learning, Q learning

In the exercises, you will then apply these methods to problems from physics, e.g.:

- temperature deblurring of spectral functions
- classification of proton collisions in the LHC
- recognizing magnetic phases in the Ising model

The course is made up of about 12 weeks, each consisting of:

**Lecture**, where we will introduce the theoretical concepts behind machine learning. At your option, you can either follow the live lecture or watch the lecture videos totalling around 75 minutes per week.
**Programming exercise**, where you are required to apply the material to physics problem. You can solve and are to hand in the exercise notebooks online via JupyterHub.
**Q&A and discussion session**, during which we will discuss the current exercise, previous exercise, and lecture materials, followed by work in groups.

The course starts with a crash course into the Python programming language, which we will then use throughout the semester.

General Kick-off meeting for elective classes of IFP: **Monday, 4. März 2024, 14:00-15:00, FH HS 5**

Requirements for this class are:

- weekly coding exercises, where you will appliy ML concepts to simple problems. Each exercise has equal weight (70 per cent of the grade).
- a written test, where you will have to demonstrate that you understood the concepts (30 per cent of the grade).

Attendance at the weekly Q&A sessions is recommended, but not required.

Grading scheme: "Genügend" requires above 1/2, "Befriedigend" requires 2/3, "Gut" requires 4/5, "Sehr gut" requires 9/10 of points. No further point cutoffs.

There is a substitute test. If you choose to partake in it, it will replace the marks of your test.