CPS196 - Fall 1999

Probability Programming

Reading: Koller, McAllester, Pfeffer

Background: This course is about programming under uncertainty. This paper presents a programming language that has uncertainty about its execution. It can be used to model uncertain events, like the simple letter-bigram model we used for "leet speak" repair.

The language is defined so that it has an efficient inference algorithm. That is, we can compute the probabilities of different types of events occurring in the program. As we saw in the repair example, this can be key for trying to disambiguate complex patterns.

Focus on Sections 1 and 2 in your reading.

Questions:

Offline: Unigram Repair

Background: Modify the repair.pl program to repair by unigrams instead of bigrams. That is, for each corrupted character, your program should return the plain letter that is the most likely. Depending on how you do it, the repairline function is probably the only thing that needs to change.

Questions:

Notes


Modified: Wed Oct 27 21:43:47 EDT 1999 by Michael Littman, mlittman@cs.duke.edu