Académique Documents
Professionnel Documents
Culture Documents
Part 1 of 4
Why have them
What are they
Gunnar Gotshalks
BN-1
Alternate names
Bayesian networks are also called by the following names
Belief network
Probabilistic network
Causal network
Gunnar Gotshalks
BN-2
Why
Need causal and explanatory models for risk assessment
Gunnar Gotshalks
BN-3
Why Medical
Need causal and explanatory models for risk assessment
Gunnar Gotshalks
BN-4
Gunnar Gotshalks
BN-5
Gunnar Gotshalks
BN-6
The test is 95% accurate for those who don't have the
disease
Gunnar Gotshalks
BN-7
The test is 95% accurate for those who don't have the
disease
Gunnar Gotshalks
BN-8
Gunnar Gotshalks
BN-9
Gunnar Gotshalks
BN-10
Gunnar Gotshalks
BN-11
Gunnar Gotshalks
BN-12
Gunnar Gotshalks
BN-13
Gunnar Gotshalks
BN-14
The
the Noise, Nate Silver, Penguin Press, 2012, p246
Signal
Gunnarand
Gotshalks
BN-15
Why Legal
Need causal and explanatory models for risk assessment
Gunnar Gotshalks
BN-16
Gunnar Gotshalks
BN-17
Gunnar Gotshalks
BN-18
Gunnar Gotshalks
BN-19
Innocent with
Gunnar Gotshalks
10 / 11 probability
BN-20
Gunnar Gotshalks
BN-21
Gunnar Gotshalks
BN-22
test
Gunnar Gotshalks
BN-23
test
Gunnar Gotshalks
BN-24
Prosecutors Fallacy
Gunnar Gotshalks
BN-25
Prosecutors Fallacy
There is a corresponding
Defendants Fallacy
Gunnar Gotshalks
BN-26
Gunnar Gotshalks
BN-27
Gunnar Gotshalks
BN-28
Why Safety
Need causal and explanatory models for risk assessment
Figure from
Risk Assessment and Decision Analysis
with Bayesian Networks, Norman Fenton,
Martin Neil, CRC Press, 2013, p43
Gunnar Gotshalks
BN-29
Why Reliability
Gunnar Gotshalks
BN-30
Trigger
Drive Fast
Control
(helps avoid risk)
Trigger
Drive Fast
Speed
Warning
Risk event
Crash
Crash
Mitigant
(helps avoid negative
consequence)
Opportunity
event
Make
meeting
Seat Belt
Consequence
Impediment
(may stop positive consequence)
Nerves
Consequence
Injury
Impediment
(may stop opportunity event)
Win
contract
BN-31
Crash
Seat Belt
Make
meeting
Injury
Nerves
Win
contract
BN-32
Gunnar Gotshalks
BN-33
Gunnar Gotshalks
BN-34
Gunnar Gotshalks
BN-35
Gunnar Gotshalks
BN-36
Gunnar Gotshalks
BN-37
Reinforcement Learning
Bayesian methods for machine learning have been widely
investigated, yielding principled methods for incorporating
prior information into inference algorithms
The major incentives for incorporating Bayesian reasoning
in RL are:
Gunnar Gotshalks
BN-38
Lightning
Sensor
Alarm
Call
When event sensor occurs, the alarm and call events may occur
Gunnar Gotshalks
BN-39
Model Is a DAG
(directed acyclic graph)
Lightning
Sensor
Alarm
Call
When event sensor occurs, the alarm and call events may occur
Gunnar Gotshalks
BN-40
Burglary
Lightning variable
True 2%
False 98%
Lightning
Sensor
Alarm
Gunnar Gotshalks
Call
BN-41
Burglary
Call variable
Sensor True False
True 90%
0%
False 10% 100%
Lightning
Sensor
Alarm
Gunnar Gotshalks
Call
BN-42
False
True False
10% 0.1%
90% 99.9%
Lightning
Sensor
Alarm
Gunnar Gotshalks
Call
BN-43
Burglary?
Lightning?
Burglary
Both?
Neither?
Lightning
Sensor
Alarm
Gunnar Gotshalks
Call
BN-44
Burglary
Lightning
Sensor
Alarm
Gunnar Gotshalks
Call
BN-45
Burglary
Lightning
Sensor
Alarm
Gunnar Gotshalks
Call
BN-46
Burglary
Lightning
Sensor
Alarm
Gunnar Gotshalks
Call
BN-47
Burglary
Lightning
Sensor
Alarm
Gunnar Gotshalks
Call
BN-48
Terrorist example
Before the first plane hit the World Trade Center the
probability of it being caused by terrorists would be very
low.
Example from
The Signal and the Noise, Nate Silver, Penguin Press, 2012, pp247..248
Gunnar Gotshalks
BN-49
Terrorist example 2
Before the first plane hit the World Trade Center the
probability of it being caused by terrorists would be very
low.
Suppose it to be 0.005%
Gunnar Gotshalks
BN-50
Terrorist example 3
Before the first plane hit the World Trade Center the
probability of it being caused by terrorists would be very
low.
Suppose it to be 0.005%
We run our model
Gunnar Gotshalks
BN-51
Terrorist example 4
Before the first plane hit the World Trade Center the
probability of it being caused by terrorists would be very
low.
Suppose it to be 0.005%
We run our model
Gunnar Gotshalks
BN-52
Terrorist example 5
Before the first plane hit the World Trade Center the
probability of it being caused by terrorists would be very
low.
Suppose it to be 0.005%
We run our model
Gunnar Gotshalks
BN-53
Definition of a proposition
What is a proposition?
Gunnar Gotshalks
BN-54
Definition of a proposition 2
A proposition X is a statement that can be either true or
false.
Gunnar Gotshalks
BN-55
Example proposition 1a
Alice is a character in Alice in Wonderland
Gunnar Gotshalks
BN-56
Example proposition 1b
Alice is a character in Alice in Wonderland
Happens to be true
Gunnar Gotshalks
BN-57
Example proposition 2a
Tom is a character in Alice in Wonderland
Gunnar Gotshalks
BN-58
Example proposition 2b
Tom is a character in Alice in Wonderland
Happens to be false
Gunnar Gotshalks
BN-59
Definition of a proposition 3
If X and Y are propositions
Gunnar Gotshalks
BN-60
Definition of a proposition 4
If X and Y are propositions, then the following are also
propositions
X Y
X Y
~ X
Gunnar Gotshalks
BN-61
Proposition probability
Propositions can not only be true or false but can have a
probability of being true
Gunnar Gotshalks
BN-62
Proposition probability 2
Propositions can not only be true or false but can have a
probability of being true
Gunnar Gotshalks
BN-63
Proposition probability 3
Propositions can not only be true or false but can have a
probability of being true
proposition
Gunnar Gotshalks
BN-64
Probability notation
Propositions can not only be true or false but can have a
probability of being true; a level of belief in the truth of the
statement.
P(X)
Gunnar Gotshalks
BN-65
Example proposition 3a
Alice has a cold while she is in Wonderland.
Gunnar Gotshalks
BN-66
Example proposition 3b
Alice has a cold while she is in Wonderland.
Gunnar Gotshalks
BN-67
Example proposition 4a
It will rain on 2025 June 16
Gunnar Gotshalks
BN-68
Example proposition 4b
It will rain on 2025 June 16
Gunnar Gotshalks
BN-69
Probability notation 2a
Propositions can not only be true or false but can have a
probability of being true; a level of belief in the truth of the
statement.
P(X)
P(X | Y)
Gunnar Gotshalks
BN-70
Probability notation 2b
Propositions can not only be true or false but can have a
probability of being true; a level of belief in the truth of the
statement.
P(X)
P(X | Y)
Gunnar Gotshalks
BN-71
Probability notation 2c
Propositions can not only be true or false but can have a
probability of being true; a level of belief in the truth of the
statement.
P(X)
P(X | Y)
Gunnar Gotshalks
BN-72
Probability notation 2d
Propositions can not only be true or false but can have a
probability of being true; a level of belief in the truth of the
statement.
P(X)
P(X | Y)
Gunnar Gotshalks
BN-73
Gunnar Gotshalks
BN-74
Gunnar Gotshalks
BN-75
Gunnar Gotshalks
BN-76
Gunnar Gotshalks
BN-77
Gunnar Gotshalks
BN-78
Gunnar Gotshalks
BN-79
Gunnar Gotshalks
BN-80
Gunnar Gotshalks
BN-81
Burglary
Lightning
P(burglary | alarm)?
P(burglary | alarm, ~ lightning)?
Sensor
Gunnar Gotshalks
Call
BN-82