← Teaching

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

TopicSlidesReferences
Sets, SequencesLecture 1Meyer, Lehman, Leighton (4.1, 4.2, 4.5)
Counting, Permutations, CombinationsLecture 2Meyer, Lehman, Leighton (14.1 - 14.5)
Binomial Theorem, Generalization to MultinomialsLecture 3Meyer, Lehman, Leighton (14.6, 14.9)
Pigeonhole principle, Introduction to ProbabilityLecture 4Meyer, Lehman, Leighton (14.8, 14.10), Ross (3.1, 3.2, 3.3)
Axioms and rules of ProbabilityLecture 5Ross (3.4, 3.5), Meyer, Lehman, Leighton (16.5)
Birthday Paradox, Introduction to Conditional ProbabilityLecture 6Ross (3.6), Meyer, Lehman, Leighton (16.4, 17.2)
Conditional ProbabilityLecture 7Ross (3.6), Meyer, Lehman, Leighton (17.2)
Monty Hall Problem, Tree DiagramsLecture 8Meyer, Lehman, Leighton (16.1-16.3, 17.1, 17.3, 17.4)
Law of Total Probability, Bayes RuleLecture 9Ross (3.7, 3.8), Meyer, Lehman, Leighton (17.5, 17.6)
Independent Events, Frievald's AlgorithmLecture 10Meyer, Lehman, Leighton (17.7), O'Donnell (1)
Probability Amplification, Random VariablesLecture 11Ross (4.1), Meyer, Lehman, Leighton (18.1)
Distribution Functions, Discrete Distributions (Bernoulli, Uniform)Lecture 12Ross (5.1), Meyer, Lehman, Leighton (18.3.1, 19.3.1, 19.3.2, 19.3.4)
Discrete Distributions (Binomial, Geometric)Lecture 13Ross (5.1), Meyer, Lehman, Leighton (18.3.1, 19.3.1, 19.3.2, 19.3.4)
Expectation of random variables, Linearity of expectationLecture 14Ross (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 ExpectationLecture 15Meyer, Lehman, Leighton (18.5.4, 18.4.5), Harvey (16.1)
Randomized Quick Select, Independence of random variablesLecture 16Meyer, Lehman, Leighton (18.2), Harvey (5.2)
Joint distributions, VarianceLecture 17Ross (4.3, 4.6), Meyer, Lehman, Leighton (19.3)
Properties of Variance, Matching BirthdaysLecture 18Ross (4.6), Meyer, Lehman, Leighton (19.3)
Matching Birthdays, Covariance, CorrelationLecture 19Ross (4.7), Meyer, Lehman, Leighton (19.4.2)
Tail Inequalities (Markov, Chebyshev)Lecture 20Meyer, Lehman, Leighton (19.1, 19.2)
Voter Poll, Weak Law of Large Numbers, Chernoff BoundLecture 21Meyer, Lehman, Leighton (19.4, 19.6)
Chernoff BoundLecture 22Meyer, Lehman, Leighton (19.6)
Randomized Load Balancing, Machine Learning 101Lecture 23Meyer, Lehman, Leighton (19.6), Murphy (4.2.1, 4.2.3, 10.2.1, 10.2.3)
Machine Learning 101Lecture 24Murphy (4.2.1, 4.2.3, 10.2.1, 10.2.3)

Books and references

Related courses