Docsity

Understanding Bayesian Networks: D-Separation and Conditional Independence, Slides of Java Programming

Partial preview of the text

Download Understanding Bayesian Networks: D-Separation and Conditional Independence and more Slides Java Programming in PDF only on Docsity!

Today

  • Bayesian Networks
    • Review of what they are
    • D-separation
    • More examples of how to work with Bayesian networks

Bayesian Network

  • The first component of a Bayesian network is a directed acyclic graph (or DAG)
    • Nodes represents a random variables
    • Edges represent dependencies X 1 X 3 X 2 X 5 X 4 X 6

Bayesian Network

Key Assumption: If dependencies are represented accurately, the joint distribution factors in a nice way Don’t need to learn or store the whole joint PMF! Can instead learn a small conditional probability table for each random variable.

P ( X

1

= x

1

,..., X

n

= x

n

= P

i = 1 n

X

i

= x

i

| X

j

= x

j

for X

j

∈ Pa ( X

i

Causal Chains

  • X and Y are conditionally independent given Z
  • In general, X and Y are not independent X Z Y

Common Effect

  • X and Y are independent
  • X and Y are not conditionally independent given Z
  • X and Y are not conditionally independent given W X Z Y W

Independence Relationships

  • To determine if two nodes are independent, we just have to check the path (or paths) between them
  • If every path is “blocked”, they are independent

More Formally...

Let E denote a set of observed evidence nodes. Each node in the graph is “closed” or “open” given evidence E. → W →

More Formally...

Let E denote a set of observed evidence nodes. Each node in the graph is “closed” or “open” given evidence E. → W → closed if W E

More Formally...

Let E denote a set of observed evidence nodes. Each node in the graph is “closed” or “open” given evidence E. → W → closed if W E ← W ← closed if W E

More Formally...

Let E denote a set of observed evidence nodes. Each node in the graph is “closed” or “open” given evidence E. → W → closed if W E ← W ← closed if W E ← W →

More Formally...

Let E denote a set of observed evidence nodes. Each node in the graph is “closed” or “open” given evidence E. → W → closed if W E ← W ← closed if W E ← W → closed if W E → W ←

More Formally...

Let E denote a set of observed evidence nodes. Each node in the graph is “closed” or “open” given evidence E. → W → closed if W E ← W ← closed if W E ← W → closed if W E → W ← closed if neither W nor any descendent of W is in E

D-Separation

  • Given evidence E , nodes X and Y are d-separated if every path between X and Y contains at least one closed node.
  • If X and Y are d-separated given evidence E , then X and Y are conditionally independent given E.

D-Separation

  • Multiple networks can correspond to the same set of independence assumptions...