Machine Learning with Probabilistic Programming

Fall 2017, Columbia University

Instructor: Alp Kucukelbir
Course Assistants: Maja Rudolph

Day and Time: Fridays, 10:10a.m. to 12:40p.m.
Location: 313 Fayerweather



The world is full of noise and uncertainty. To make sense of it, we collect data and ask questions. Is there a tumor in this x-ray scan? What affects the quality of my manufacturing plant? How old is that planet that I see through the telescope? Does this drug actually work? To pose and answer such questions, data scientists must iterate through a cycle: probabilistically model a system, infer hidden patterns from data, and evaluate how well our model describes reality.

By the end of this course, you will learn how to use probabilistic programming to effectively iterate through this cycle. Specifically, you will master

  • modeling real-world phenomena using probability models,
  • using advanced algorithms to infer hidden patterns from data, and
  • evaluating the effectiveness of your analysis.

You will learn to use (and perhaps even contribute to) Edward throughout this course.

Intended Audience

This is a graduate-level course. You should be comfortable with probability and statistics, calculus and linear algebra, and basic numerical optimization. You should be familiar with probabilistic machine learning (for example, you took a class that used Bishop or Murphy). You must be proficient writing robust software in Python to analyze data. You do not need to be familiar with Edward.


The textbook for this course is Essentials of Statistical Inference. In addition, I will distribute course notes and point to other readings as needed.

Problem Sets

There will be three problem sets corresponding to a two week schedule. The problem sets are more theoretical in nature and involve minimal programming; they are meant to compliment your final project. You are expected to complete all assigned questions. While the grade you get on your problem sets is only a minor component of your total grade, working through, and often struggling at length with, the problem sets is a crucial part of the learning process and will invariably have a major impact on your understanding of the material.

You must submit your problem sets by the end of the class in which they are due. I will distribute solutions by the end of class on the due date; consequently, late problem sets will receive a grade of zero.

Moderate collaboration on the problem sets in the form of joint problem solving with one or two classmates is permitted, provided your writeup is your own. Please prepare all written work using LaTeX; I will distribute a template.

Final Project

The focus of this course is the final project. The goal is for you to choose a real world problem and to loop through the probabilistic modeling cycle using probabilistic programming. You will be expected to write, document, and report your analysis and findings. This will involve a significant amount of programming. Based on the number of students taking the course for credit, you will work either individually or in pairs. I will provide some suggestions, though you are encouraged to find a problem in a field that excites you.

You will produce an 8-page final report and present your findings to the class in a 10-minute presentation at the end of the term. This project will measure your cumulative understanding of the material while providing you with a supportive environment to try out your new skills.

Seminar Summaries

During the semester you will be expected to attend two seminars given in any department at the university. The speakers in the talks should be using probabilistic modeling and some sort of statistical inference in their research. Please ask me for permission beforehand to determine whether a particular talk is acceptable. After you have attended the talk, please write a two page summary and submit it no later than one week after the talk. This summary must include: a review of the talk, a discussion of how probabilistic modeling was used in the proposed research, a critical evaluation of the talk, and suggestions for improvements using probabilistic programming.

Course Grade

Your course grade will be calculated as follows.

Component Percentage
Problem Sets 30 %
Final Project 50 %
Seminar Summaries 10 %
Participation 10 %
Schedule (tentative)
Date Topic Reading Homework
September 8 Probabilistic programming; statistical inference review Ch.1, 2.1, 3, 5 PSET1 out
September 15 Python; Edward PSET1 due
September 22 Statistical modeling PSET2 out
September 29 Point estimation; optimization review
October 6 Variational inference PSET3 out; PSET2 due
October 13 Markov chain Monte Carlo Project Proposal Due
October 20 Predictive inference and evaluation PSET3 due
October 27 Model criticism
November 3 Pitfalls of probabilistic programming
November 10 Advanced topics (TBD)
November 17 Guest Lecture by Maja Rudolph
November 24 University holiday; no class.
December 1 Final project presentations
December 8 Final project presentations Seminar Summaries Due