Recitation - Alex Smolaalex.smola.org/teaching/cmu2013-10-701x/slides/03-naive... · 2013-10-03 ·...

Preview:

Citation preview

Geoff Gordon—10-701 Machine Learning—Fall 2013

Recitation

• First recitation tomorrow 5–6:30 here

• Linear algebra

1

Geoff Gordon—10-701 Machine Learning—Fall 2013

Probability

2

P(a) = P(u) =

P(~a) =

Geoff Gordon—10-701 Machine Learning—Fall 2013

Conventions

3

Geoff Gordon—10-701 Machine Learning—Fall 2013

Union, intersection

4

Geoff Gordon—10-701 Machine Learning—Fall 2013

Conditioning

5

Geoff Gordon—10-701 Machine Learning—Fall 2013

Law of total probability

6

Geoff Gordon—10-701 Machine Learning—Fall 2013

Marginals

7

Geoff Gordon—10-701 Machine Learning—Fall 2013

Finite vs. infinite |u|

• http://www.amazon.com/Probability-Measure-Wiley-Series-Statistics/dp/1118122372

• http://en.wikipedia.org/wiki/Regular_conditional_probability• http://en.wikipedia.org/wiki/Borel%E2%80%93Kolmogorov_paradox

8

Geoff Gordon—10-701 Machine Learning—Fall 2013

How I learned to stop worrying and love the density function…

9

Expectation: average value, mean, 1st moment:

22

Moments

Variance: the spread, 2nd moment:

Uniform Distribution

24

CDF PDF CDF PDF 1√2πσ

exp(− 12 (x− µ)2/σ2)

1b−a a ≤ x ≤ b0 o/w

Geoff Gordon—10-701 Machine Learning—Fall 2013

Multivariate densities

10

Geoff Gordon—10-701 Machine Learning—Fall 2013

Random variables

11

Probability space (σ-algebra)

Geoff Gordon—10-701 Machine Learning—Fall 2013

Bayes rule

• recall def of conditional: ‣ P(a|b) = P(a^b) / P(b) if P(b) != 0

12