Good BayesianNetworksPrimer
Good BayesianNetworksPrimer
ABRIEFINTRODUCTIO
N
ADNAN MASOOD
SCIS.NOVA.EDU/~ADNAN
ADNAN@NOVA.EDU
DOCTORALCANDIDATE
NOVASOUTHEASTERN UNIVERSITY
What is a Bayesian Network?
C D
So BN = (DAG, CPD)
C D
Each node in graph represents
a random variable
Where do all these numbers come from?
There is a set of tables for each node in the network.
Each node Xi has a conditional probability distribution
P(Xi | Parents(Xi)) that quantifies the effect of the parents
on the node
The parameters are the probabilities in these conditional
A probability tables (CPTs)
C D
The infamous Burglary-Alarm Example
Burglary
P(B) Earthquake
P(E)
0.001 0.002
B E P(A)
T T 0.95
Alarm T F 0.94
F T 0.29
F F 0.001
A P(J)
John Calls T 0.90 Mary Calls A P(M)
F 0.05 T 0.70
F 0.01
Cont..calculations on the belief network
Belief Revision
Model explanatory/diagnostic tasks
Given evidence, what is the most likely hypothesis to explain the
evidence?
Also called abductive reasoning
Example: Given some evidence variables, find the state of all other
variables that maximize the probability. E.g.: We know John Calls,
but not Mary. What is the most likely state? Only consider
assignments where J=T and M=F, and maximize.
Belief Updating
Queries
Given evidence, what is the probability of some other random
variable occurring?
What is conditional independence?
The Markov condition says that given its parents (P1, P2), a
node (X) is conditionally independent of its non-descendants
(ND1, ND2)
P1 P2
ND1 X ND2
C1 C2
What is D-Separation?
Tuberculosis
Tuberculosis or Bronchitis
Lung Cancer
X-Ray
Dyspnea
Limitations of Bayesian Networks
Repository: www.cs.huji.ac.il/labs/compbio/Repository/
Softwares:
Infer.NET http://research.microsoft.com/en-
us/um/cambridge/projects/infernet/
Genie: genie.sis.pitt.edu
Hugin: www.hugin.com
SamIam http://reasoning.cs.ucla.edu/samiam/
JavaBayes: www.cs.cmu.edu/ javabayes/Home/
Bayesware: www.bayesware.com
BN info sites
Bayesian Belief Network site (Russell Greiner)
http://webdocs.cs.ualberta.ca/~greiner/bn.html
Summary of BN software and links to software sites (Kevin Murphy)
References and Further Reading