Official course description, subject to change:
Preliminary info last published 23/11-20

### Probabilistic Programming

##### Course info
Language:
English
ECTS points:
7.5
Course code:
KSPRPRO1KU
Participants max:
18
Offered to guest students:
yes
Offered to exchange students:
yes
Offered as a single subject:
yes
Price (single subject):
10625 DKK (incl. vat)
##### Programme
Level:
MSc. Master
Programme:
MSc in Computer Science
Semester
Forår 2022
Start
31 January 2022
End
27 May 2022
##### Abstract
This course introduces basics of Bayesian statistics, Bayesian data analysis, Bayesian learning, and the programming tools that enable automation of these methods. The course emphasizes programmable statistical methods over pen and pencil analytics.
##### Description

Bayesian statistics and probabilistic programming are believed to be the proper foundation for development and industrialization of next generation of AI systems.  Bayesian statistics gives a well defined theoretical basis, that is analytically understandable, while probabilistic programming gives an instrument of automation, needed for proper industrialization of the method.

This course introduces basics of Bayesian statistics, Bayesian data analysis, Bayesian learning, Bayesian Hypothesis testing, and the programming tools that enable automation of these methods.  We will cover Bayesian reasoning and diagnosis and build models of concrete examples.  We will learn several sampling methods and apply them to problems at hand.  The course emphasizes programmable statistical methods over pen and pencil analytics.    Every week we solve a programing exercise associated with the topic of the lecture.

We will study Bayesian Analysis using an established textbook.  For each chapter we will implement examples and exercises of models and analyses using Python's PyMC3 framework - probably the most popular probabilistic library today. Occasionally we will show examples of other probabilistic programming languages to illustrate concepts.

##### Formal prerequisites
• You need to be a confident programmer in object-oriented and functional programming styles
• You should know basic probability theory at high-school level (concepts like discrete probability, or normal distribution).  We will recall all the necessary notions in the course, but we will not provide a systematic course on probability theory. You may consider taking Linear Algebra and Probability in parallel, if you lack a systematic exposition to these topics.
• You should know Python, or be willing to learn it fast (learning Python fast is possible).  We will spend only one class explaining the basics of Python, so if you do not know Python before taking the course, you will have to pick it up by yourself.  Python is a language with a low barrier of entry, but you are recommended to start learning it before the class begins, if you have no experience.
##### Intended learning outcomes

After the course, the student should be able to:

• Identify applications of Bayesian analysis
• Formulate Bayesian Models
• Implement construction of Bayesian Models using a probabilistic programming framework PyMC3 in Python
• Learn model parameters from data
• Explain differences between sampling algorithms, select, and use an appropriate inference algorithm
• Evaluate the models, inference, and learning queries experimentally