34
Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilme s Page 1 University of Washington Department of Electrical Engineering EE512 Spring, 2006 Graphical Models Jeff A. Bilmes <[email protected]> Jeff A. Bilmes <[email protected]> Lecture 3 Slides April 4 th , 2006

Lec 3: April 4th, 2006EE512 - Graphical Models - J. BilmesPage 1 Jeff A. Bilmes University of Washington Department of Electrical Engineering EE512 Spring,

  • View
    214

  • Download
    0

Embed Size (px)

Citation preview

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 1

University of WashingtonDepartment of Electrical Engineering

EE512 Spring, 2006 Graphical Models

Jeff A. Bilmes <[email protected]>Jeff A. Bilmes <[email protected]>

Lecture 3 Slides

April 4th, 2006

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 2

• Start computing probabilities• elimination algorithm• Beginning of chordal graph theory

Outline of Today’s Lecture

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 3

Books and Sources for Today

• Jordan: Chapters 2 and 3• Lauritzen, 1986.• Any graph theory text.

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 4

• L1: Tues, 3/28: Overview, GMs, Intro BNs.• L2: Thur, 3/30: semantics of BNs + UGMs• L3: Tues, 4/4: elimination, probs, chordal I• L4: Thur, 4/6• L5: Tue, 4/11• L6: Thur, 4/13• L7: Tues, 4/18• L8: Thur, 4/20• L9: Tue, 4/25• L10: Thur, 4/27

• L11: Tues, 5/2• L12: Thur, 5/4• L13: Tues, 5/9• L14: Thur, 5/11• L15: Tue, 5/16• L16: Thur, 5/18• L17: Tues, 5/23• L18: Thur, 5/25• L19: Tue, 5/30• L20: Thur, 6/1: final presentations

Class Road Map

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 5

• If you see a typo, please tell me during lecture– everyone will then benefit.– note, corrected slides will go on web.

• READING: Chapter 3 in Jordan’s book (take a look at chapters 17)

• Please audit if you are attending class– it will help to get us a bigger room.– If you need an add code, just send me email.

• Reminder: TA discussions and office hours:– Office hours: Thursdays 3:30-4:30, Sieg Ground Floor

Tutorial Center– Discussion Sections: Fridays 9:30-10:30, Sieg Ground Floor

Tutorial Center Lecture Room

Announcements

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 6

Computing Probabilities

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 7

Computing Probabilities

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 8

Computing Probabilities

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 9

Note on sums and evidence

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 10

Graph Algorithm Equivalent: Elimination

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 11

B

A

C

D

E F G

H I1 2

3 4

7

5

6

8

9

Order the Nodes

Eliminate the nodesin order

Elimination Example: different graph

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 12

Result of Elimination

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 13

Elimination

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 14

Elimination

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 15

Elimination & Directed Graphs

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 16

Immoral Elimination

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 17

Moralization

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 18

Variable Elimination Algorithm

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 19

Summary

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 20

More Graph Terminology/Notation

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 21

Graph Terminology/Notation

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 22

Graph Terminology/Notation

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 23

Graph Terminology/Notation

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 24

Ancestral examples

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 25

Separators

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 26

Tree/Forest

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 27

Triangulated/Chordal

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 28

Triangulated/Chordal

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 29

Triangulated/Chordal

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 30

Junction Tree

A,B,C,D

B,C,D,F

B,E,F F,D,G

E,F,H F,G,I

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 31

Junction Tree & r.i.p.

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 32

Junction Tree & r.i.p.

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 33

Decomposability

Lec 3: April 4th, 2006 EE512 - Graphical Models - J. Bilmes Page 34

Equivalent conditions for G