Gaussians Pieter Abbeel UC Berkeley EECS Many - - PowerPoint PPT Presentation

gaussians
SMART_READER_LITE
LIVE PREVIEW

Gaussians Pieter Abbeel UC Berkeley EECS Many - - PowerPoint PPT Presentation

Gaussians Pieter Abbeel UC Berkeley EECS Many slides adapted from Thrun, Burgard and Fox, ProbabilisAc RoboAcs Outline n Univariate


slide-1
SLIDE 1

Gaussians ¡

¡ ¡ Pieter ¡Abbeel ¡ UC ¡Berkeley ¡EECS ¡ ¡ ¡ ¡ ¡

Many ¡slides ¡adapted ¡from ¡Thrun, ¡Burgard ¡and ¡Fox, ¡ProbabilisAc ¡RoboAcs ¡

¡

¡

slide-2
SLIDE 2

n Univariate ¡Gaussian ¡ n MulAvariate ¡Gaussian ¡ n Law ¡of ¡Total ¡Probability ¡ n CondiAoning ¡(Bayes’ ¡rule) ¡

¡ Disclaimer: ¡lots ¡of ¡linear ¡algebra ¡in ¡next ¡few ¡lectures. ¡ ¡See ¡course ¡homepage ¡for ¡pointers ¡ for ¡brushing ¡up ¡your ¡linear ¡algebra. ¡ ¡ ¡ In ¡fact, ¡pre<y ¡much ¡all ¡computa=ons ¡with ¡Gaussians ¡will ¡be ¡reduced ¡to ¡linear ¡algebra! ¡

Outline ¡

slide-3
SLIDE 3

Univariate ¡Gaussian ¡

n Gaussian ¡distribuAon ¡with ¡mean ¡µ, ¡and ¡standard ¡deviaAon ¡σ: ¡

slide-4
SLIDE 4

n DensiAes ¡integrate ¡to ¡one: ¡ ¡ n Mean: ¡ n Variance: ¡

ProperAes ¡of ¡Gaussians ¡

slide-5
SLIDE 5

Central ¡limit ¡theorem ¡(CLT) ¡

n Classical ¡CLT: ¡

n Let ¡X1, ¡X2, ¡… ¡be ¡an ¡infinite ¡sequence ¡of ¡independent ¡random ¡variables ¡

with ¡E ¡Xi ¡= ¡µ, ¡E(Xi ¡-­‑ ¡µ)2 ¡= ¡σ2 ¡

n Define ¡Zn ¡= ¡ ¡((X1 ¡+ ¡… ¡+ ¡Xn) ¡– ¡n ¡µ) ¡/ ¡(σ ¡n1/2) ¡ n Then ¡for ¡the ¡limit ¡of ¡n ¡going ¡to ¡infinity ¡we ¡have ¡that ¡Zn ¡is ¡distributed ¡

according ¡to ¡N(0,1) ¡

n Crude ¡statement: ¡things ¡that ¡are ¡the ¡result ¡of ¡the ¡addiAon ¡of ¡

lots ¡of ¡small ¡effects ¡tend ¡to ¡become ¡Gaussian. ¡

slide-6
SLIDE 6

MulAvariate ¡Gaussians ¡

slide-7
SLIDE 7

MulAvariate ¡Gaussians ¡

(integral ¡of ¡vector ¡= ¡vector ¡

  • f ¡integrals ¡of ¡each ¡entry) ¡ ¡

(integral ¡of ¡matrix ¡= ¡matrix ¡

  • f ¡integrals ¡of ¡each ¡entry) ¡ ¡
slide-8
SLIDE 8

§ µ ¡= ¡[1; ¡0] ¡ § Σ ¡= ¡[1 ¡ ¡0; ¡0 ¡ ¡1] ¡ § µ ¡= ¡[-­‑.5; ¡0] ¡ § Σ ¡= ¡[1 ¡ ¡0; ¡0 ¡ ¡1] ¡ § µ ¡= ¡[-­‑1; ¡-­‑1.5] ¡ § Σ ¡= ¡[1 ¡ ¡0; ¡0 ¡ ¡1] ¡

MulAvariate ¡Gaussians: ¡Examples ¡

slide-9
SLIDE 9

n

µ ¡= ¡[0; ¡0] ¡

n

Σ ¡= ¡[1 ¡0 ¡; ¡0 ¡1] ¡

§ µ ¡= ¡[0; ¡0] ¡ § Σ ¡= ¡[.6 ¡0 ¡; ¡0 ¡.6] ¡ § µ ¡= ¡[0; ¡0] ¡ § Σ ¡= ¡[2 ¡0 ¡; ¡0 ¡2] ¡

MulAvariate ¡Gaussians: ¡Examples ¡

slide-10
SLIDE 10

§ µ ¡= ¡[0; ¡0] ¡ § Σ ¡= ¡[1 ¡ ¡0; ¡0 ¡ ¡1] ¡ § µ ¡= ¡[0; ¡0] ¡ § Σ ¡= ¡[1 ¡ ¡0.5; ¡0.5 ¡1] ¡ § µ ¡= ¡[0; ¡0] ¡ § Σ ¡= ¡[1 ¡ ¡0.8; ¡0.8 ¡ ¡1] ¡

MulAvariate ¡Gaussians: ¡Examples ¡

slide-11
SLIDE 11

§ µ ¡= ¡[0; ¡0] ¡ § Σ ¡= ¡[1 ¡ ¡0; ¡0 ¡ ¡1] ¡ § µ ¡= ¡[0; ¡0] ¡ § Σ ¡= ¡[1 ¡ ¡0.5; ¡0.5 ¡ ¡1] ¡ § µ ¡= ¡[0; ¡0] ¡ § Σ ¡= ¡[1 ¡ ¡0.8; ¡0.8 ¡ ¡1] ¡

MulAvariate ¡Gaussians: ¡Examples ¡

slide-12
SLIDE 12

§ µ ¡= ¡[0; ¡0] ¡ § Σ ¡= ¡[1 ¡ ¡-­‑0.5 ¡; ¡-­‑0.5 ¡ ¡1] ¡ § µ ¡= ¡[0; ¡0] ¡ § Σ ¡= ¡[1 ¡ ¡-­‑0.8 ¡; ¡-­‑0.8 ¡ ¡1] ¡ § µ ¡= ¡[0; ¡0] ¡ § Σ ¡= ¡[3 ¡ ¡0.8 ¡; ¡0.8 ¡ ¡1] ¡

MulAvariate ¡Gaussians: ¡Examples ¡

slide-13
SLIDE 13

ParAAoned ¡MulAvariate ¡Gaussian ¡

n Consider ¡a ¡mulA-­‑variate ¡Gaussian ¡and ¡parAAon ¡random ¡vector ¡into ¡(X, ¡Y). ¡

slide-14
SLIDE 14

ParAAoned ¡MulAvariate ¡Gaussian: ¡Dual ¡RepresentaAon ¡

n

Precision ¡matrix ¡

n

Straighgorward ¡to ¡verify ¡from ¡(1) ¡that: ¡ ¡

n

And ¡swapping ¡the ¡roles ¡of ¡Sigma ¡and ¡Gamma: ¡ (1)

slide-15
SLIDE 15

MarginalizaAon: ¡p(x) ¡= ¡? ¡

We ¡integrate ¡out ¡over ¡y ¡to ¡find ¡the ¡marginal: ¡ ¡ ¡ ¡ ¡ ¡ ¡ Hence ¡we ¡have: ¡ ¡ ¡

Note: ¡if ¡we ¡had ¡known ¡beforehand ¡that ¡p(x) ¡would ¡be ¡a ¡Gaussian ¡distribuAon, ¡then ¡we ¡could ¡have ¡found ¡the ¡result ¡ more ¡quickly. ¡ ¡We ¡would ¡have ¡just ¡needed ¡to ¡find ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡and ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡, ¡ ¡which ¡we ¡had ¡available ¡ through ¡

slide-16
SLIDE 16

If Then

MarginalizaAon ¡Recap ¡

slide-17
SLIDE 17

Self-­‑quiz ¡

slide-18
SLIDE 18

CondiAoning: ¡p(x ¡| ¡Y ¡= ¡y0) ¡= ¡? ¡

We ¡have ¡ ¡ ¡ ¡ ¡ ¡ ¡ Hence ¡we ¡have: ¡ ¡ ¡ ¡

  • CondiAonal ¡mean ¡moved ¡according ¡to ¡correlaAon ¡and ¡variance ¡on ¡measurement ¡
  • CondiAonal ¡covariance ¡does ¡not ¡depend ¡on ¡y0 ¡

¡

slide-19
SLIDE 19

If Then

CondiAoning ¡Recap ¡