CMPT 210 - Probability and Computing
Course overview
The course introduces the foundational concepts in probability as required by many modern applications in computing. It will give the students in Computing Science experience in: 1. Understanding the combinatorial nature of many computational problems. 2. Working knowledge of probability theory, with applications to computing (algorithms, machine learning, data analysis, etc.)
Prerequisites
MACM 101, MATH 152 and MATH 232/MATH 240
Topics
- Combinatorics: Permutations, Binomial coefficients, Inclusion-Exclusion
- Basic probability theory: Independence, Conditional probability, Bayes' Theorem
- Basic probability theory: Random variables, Expectation, Linearity of Expectation, Variance
- Discrete distributions: Binomial and Geometric, Joint distributions
- Tail inequalities: Markov’s Inequality, Chebyshev’s Inequality, Chernoff Bound
- Applications: Verifying matrix multiplication, Max-Cut, Machine Learning, Randomized QuickSort, AB Testing
- Continuous distributions (Introduction): Normal Distribution, Central Limit Theorem
Lecture slides and readings
| Topic | Slides | References |
|---|---|---|
| Sets, Sequences | Lecture 1 | Meyer, Lehman, Leighton (4.1, 4.2, 4.5) |
| Counting, Permutations, Combinations | Lecture 2 | Meyer, Lehman, Leighton (14.1 - 14.5) |
| Binomial Theorem, Generalization to Multinomials | Lecture 3 | Meyer, Lehman, Leighton (14.6, 14.9) |
| Pigeonhole principle, Introduction to Probability | Lecture 4 | Meyer, Lehman, Leighton (14.8, 14.10), Ross (3.1, 3.2, 3.3) |
| Axioms and rules of Probability | Lecture 5 | Ross (3.4, 3.5), Meyer, Lehman, Leighton (16.5) |
| Birthday Paradox, Introduction to Conditional Probability | Lecture 6 | Ross (3.6), Meyer, Lehman, Leighton (16.4, 17.2) |
| Conditional Probability | Lecture 7 | Ross (3.6), Meyer, Lehman, Leighton (17.2) |
| Monty Hall Problem, Tree Diagrams | Lecture 8 | Meyer, Lehman, Leighton (16.1-16.3, 17.1, 17.3, 17.4) |
| Law of Total Probability, Bayes Rule | Lecture 9 | Ross (3.7, 3.8), Meyer, Lehman, Leighton (17.5, 17.6) |
| Independent Events, Frievald's Algorithm | Lecture 10 | Meyer, Lehman, Leighton (17.7), O'Donnell (1) |
| Probability Amplification, Random Variables | Lecture 11 | Ross (4.1), Meyer, Lehman, Leighton (18.1) |
| Distribution Functions, Discrete Distributions (Bernoulli, Uniform) | Lecture 12 | Ross (5.1), Meyer, Lehman, Leighton (18.3.1, 19.3.1, 19.3.2, 19.3.4) |
| Discrete Distributions (Binomial, Geometric) | Lecture 13 | Ross (5.1), Meyer, Lehman, Leighton (18.3.1, 19.3.1, 19.3.2, 19.3.4) |
| Expectation of random variables, Linearity of expectation | Lecture 14 | Ross (4.4, 4.5), Meyer, Lehman, Leighton (18.4.1-18.4.3, 18.5.1-18.5.3) |
| Coupon Collector Problem, Max Cut, Conditional Expectation, Law of Total Expectation | Lecture 15 | Meyer, Lehman, Leighton (18.5.4, 18.4.5), Harvey (16.1) |
| Randomized Quick Select, Independence of random variables | Lecture 16 | Meyer, Lehman, Leighton (18.2), Harvey (5.2) |
| Joint distributions, Variance | Lecture 17 | Ross (4.3, 4.6), Meyer, Lehman, Leighton (19.3) |
| Properties of Variance, Matching Birthdays | Lecture 18 | Ross (4.6), Meyer, Lehman, Leighton (19.3) |
| Matching Birthdays, Covariance, Correlation | Lecture 19 | Ross (4.7), Meyer, Lehman, Leighton (19.4.2) |
| Tail Inequalities (Markov, Chebyshev) | Lecture 20 | Meyer, Lehman, Leighton (19.1, 19.2) |
| Voter Poll, Weak Law of Large Numbers, Chernoff Bound | Lecture 21 | Meyer, Lehman, Leighton (19.4, 19.6) |
| Chernoff Bound | Lecture 22 | Meyer, Lehman, Leighton (19.6) |
| Randomized Load Balancing, Machine Learning 101 | Lecture 23 | Meyer, Lehman, Leighton (19.6), Murphy (4.2.1, 4.2.3, 10.2.1, 10.2.3) |
| Machine Learning 101 | Lecture 24 | Murphy (4.2.1, 4.2.3, 10.2.1, 10.2.3) |
Books and references
- Introduction to Probability and Statistics for Engineers and Scientists, Sheldon M. Ross, Fifth Edition.
- Mathematics for Computer Science (Meyer, Lehman, Leighton)
- CMU Lecture Notes for Probability and Computing (O'Donnell)
- Randomized Algorithms (Harvey)
- Probabilistic Machine Learning: An Introduction (Murphy)