Docsity

Problems on Bayesian Network and Boolean Program - Assignment 7 | CS 3600, Assignments of Computer Science

Toggle sidebar
bg1
Homework(7.5(
Bayesian(Networks(
(
In( your( friendly( neighborhood( nuclear( power( plant,( there( is( an( alarm( that( senses(
whether(a(particular(temperature(gauge(reports(a(temperature(that(is(too(high.((The(
gauge( itself( reads( either( “high”( or( “normal”.( ( The( recently‐laid‐off( technician(
estimates(that( on(any(given( day(the(actual( temperature(is(too( high(about(2%( of(the(
time.(
(
Please(work(with(the(following(Boolean(variables:(
(
A(
Alarm(sounds(
FA(
Alarm(is(faulty(
G(
Gauge(reports(high(temperature(
FG(
Gauge(is(faulty(
T(
Actual(temperature(is(too(high(
(
Complete(the(following(problems(about(this(power(plant:(
(
A. Draw(a(Bayesian(network(for(this(problem(domain.(
(
B. Suppose( that( the( probability( that( the( gauge( reports( the( temperature(
accurately( is( x( when( it( is( working,( and( y( when( it( is( faulty.( ( Write( the(
conditional(probability(table(for(G,(conditioned( on(all( of(its( parent(s)(in(your(
Bayes(net.(
(
C. Suppose(that( the( alarm( works( correctly( at(all(times(except(when( it( is( faulty,(
in(which( case( it(never(sounds.( ( Write(the(conditional(probability( table( for(A,(
when(conditioned(on(all(of(its(parent(s)(in(your(Bayes(net.(
(
D. Suppose(we( know(the(alarm( and(gauge(are( working(properly,(and( the(alarm(
sounds!(( Write(an(expression(for(the( probability(that(the( actual(temperature(
is(too(high.(( Please( show( your( steps.( ( (Hint( #1:( ( What( do( you( know( about(G(
given( that( the( alarm( is( sounding( and( not( faulty?)( ( (Hint( #2:( ( Is( there( an(
opportunity(to(write(a(marginal?)(
(
pf3

Partial preview of the text

Download Problems on Bayesian Network and Boolean Program - Assignment 7 | CS 3600 and more Assignments Computer Science in PDF only on Docsity!

Homework 7.

Bayesian Networks

In your friendly neighborhood nuclear power plant, there is an alarm that senses

whether a particular temperature gauge reports a temperature that is too high. The

gauge itself reads either “high” or “normal”. The recently‐laid‐off technician

estimates that on any given day the actual temperature is too high about 2% of the

time.

Please work with the following Boolean variables:

A Alarm sounds

FA Alarm is faulty

G Gauge reports high temperature

FG Gauge is faulty

T Actual temperature is too high

Complete the following problems about this power plant:

A. Draw a Bayesian network for this problem domain.

B. Suppose that the probability that the gauge reports the temperature

accurately is x when it is working, and y when it is faulty. Write the

conditional probability table for G, conditioned on all of its parent(s) in your

Bayes net.

C. Suppose that the alarm works correctly at all times except when it is faulty,

in which case it never sounds. Write the conditional probability table for A,

when conditioned on all of its parent(s) in your Bayes net.

D. Suppose we know the alarm and gauge are working properly, and the alarm

sounds! Write an expression for the probability that the actual temperature

is too high. Please show your steps. (Hint #1: What do you know about G

given that the alarm is sounding and not faulty?) (Hint #2: Is there an

opportunity to write a marginal?)

Solutions:

A.

B.

fg ~fg

t ~t t ~t

g y 1 ‐ y x 1 ‐ x

~g 1 ‐ y y 1 ‐ x x

C.

fa ~fa

g ~g g ~g

a 0 0 1 0

~a 1 1 0 1

Answer to D. on following page…

T

G

FG

G

FG