Consider the Bayesian Network below whose variables are Boolean and can take on values T and...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider the Bayesian Network below whose variables are Boolean and can take on values T and F: P(B) P(E) Burglary Earthquake .001 .002 BTTFF BE P(AIB,E) TT TFTF .95 Alarm F .94 .29 .001 A P(JIA) A P(MIA) JohnCalls T.90 MaryCalls T .70 F .05 F .01 ⚫ Write down an expression for p(B, E, A, J, M) using the conditional inde- pendencies implied by the structure of the Bayes net. ⚫ Compute the value of that expression as a number. Show your work. ⚫ Compute the value of p(E, J, M) by hand. Show all of your work. That requires computing and summing 4 joint probability values using the Bayes net above. If the value of p(J, M) = 0.002084100239, what is the value of p(E|J, M)? Write a function to sample values from the joint distribution defined by this network. Use that function to sample instances and use those sam- ples to estimate p(E, J, M) and p(J, M). Use those estimates to estimate p(E|J, M). Turn in your code and show the counts that you used to estimate the probabilities and the probabilities themselves. How many samples do you need to draw to get a good estimate of p(E|J, M)? Why does it take such a large number of samples? (For what it's worth, I wrote a 28 line python solution to this question.) Consider the Bayesian Network below whose variables are Boolean and can take on values T and F: P(B) P(E) Burglary Earthquake .001 .002 BTTFF BE P(AIB,E) TT TFTF .95 Alarm F .94 .29 .001 A P(JIA) A P(MIA) JohnCalls T.90 MaryCalls T .70 F .05 F .01 ⚫ Write down an expression for p(B, E, A, J, M) using the conditional inde- pendencies implied by the structure of the Bayes net. ⚫ Compute the value of that expression as a number. Show your work. ⚫ Compute the value of p(E, J, M) by hand. Show all of your work. That requires computing and summing 4 joint probability values using the Bayes net above. If the value of p(J, M) = 0.002084100239, what is the value of p(E|J, M)? Write a function to sample values from the joint distribution defined by this network. Use that function to sample instances and use those sam- ples to estimate p(E, J, M) and p(J, M). Use those estimates to estimate p(E|J, M). Turn in your code and show the counts that you used to estimate the probabilities and the probabilities themselves. How many samples do you need to draw to get a good estimate of p(E|J, M)? Why does it take such a large number of samples? (For what it's worth, I wrote a 28 line python solution to this question.)
Expert Answer:
Answer rating: 100% (QA)
Using the conditional independencies inferred by the Bayesian networks topology write an equation for pBEAJM Determine the numerical value of the equa... View the full answer
Related Book For
Artificial Intelligence A Modern Approach
ISBN: 978-0136042594
3rd edition
Authors: Stuart Russell, Peter Norvig
Posted Date:
Students also viewed these mathematics questions
-
What is a branch delay slot and why does it arise? [7 marks] How can branch delays be avoided? If a processor exhibited one branch delay slot how would you reorder (and possibly modify) the...
-
cck3 java help them all If a processor exhibited one branch delay slot how would you reorder (and possibly modify) the instructions in the following loop to gain a performance advantage? loop ldr...
-
Rachael Ray Corporation had the following transactions. 1. Sold land (cost $12,000) for $15,000. 2. Issued common stock for $20,000. 3. Recorded depreciation of $17,000. 4. Paid salaries of $9,000....
-
Find the induced emf when the current in a 48.0-mH inductor increases from 0 to 535 mA in 15.5 ms.
-
If we could somehow fill a Franck-Hertz tube with positronium, what cathode-grid voltage would be needed to reach the second current decrease in the positronium equivalent of Figure 4-23? Figure 4-23...
-
Consider the Gallo strategic decision. Describe how you would go about evaluating that decision.
-
The following control procedures are used in Kelton Company for over-the-counter cash receipts. 1. Each store manager is responsible for interviewing applicants for cashier jobs. They are hired if...
-
Calculate the total billing amount for Jonas and his associate for their ( 1 ) first client assessment session and ( 2 ) second client assessment session. State whether they are the same or different...
-
Pet Emporium had a robbery on the weekend in which a large amount of inventory was taken. The loss is covered completely by insurance. A physical inventory count determined that the cost of the...
-
UK historical equity premium Geometric mean 5.40% Arithmetic mean 7.20% Do I use geometric mean or arithmetic mean to calculate Capital Asset Pricing Model (CAPM)?
-
Heart Rate of MammalsThe following data relate the weights of some mammals to their heart rate in beats per minute. Based on the discussion relating blood flow through the heart to body weight, as...
-
Write a plan for proof for one case of the Composition Theorem. Q Q'e R' R P R" m Q"
-
For the circuit in Figure 1064, draw the phasor diagram showing all voltages and the total current. Indicate the phase angles. Vs 2 V rms f = 15 kHz FIGURE 10-64 C 0.1 F C 0.22 UF R 100 R 100
-
In Exercises use the graph of the function with domain - 1 x 3. Determine (a) (b) g(3). (c) Whether g(x) is continuous at x = 3. (d) The points of discontinuity of g(x). (e) Whether any points of...
-
Define producer surplus. Draw a graph to show the area that represents producer surplus.
-
Which of the following statements is CORRECT? O Gauss-Jordan Elimination is more complex than Gaussian Elimination. Computers can compute the root for f(x) = x2 - 14 = 0 with an actual error equals...
-
Reread the discussion leading to the result given in (7). Does the matrix sI - A always have an inverse? Discuss.
-
On page 68, we said that we would not consider problems with negative path costs. In this exercise, we explore this decision in more depth. a. Suppose that actions can have arbitrarily large negative...
-
Prove that alphabeta pruning takes time O(2 m/2 ) with optimal move ordering, where m is the maximum depth of the game tree.
-
The traveling salesperson problem (TSP) can be solved with the minimum-spanning tree (MST) heuristic, which estimates the cost of completing a tour, given that a partial tour has already been...
-
An engineering organisational system is composed of major groups such as management, research and development, preliminary design, experiments, product design and drafting, fabrication and...
-
The student-teacher learning activity is inherently a feedback exercise intended to reduce the system error to a minimum. The desired output is the knowledge being studied, and the student is the...
-
Give two examples of feedback control systems in which a human acts as a controller.
Study smarter with the SolutionInn App