A non-angler, curious to know what counts as a good day of fishing (F) at the lake
Question:
A non-angler, curious to know what counts as a good day of fishing (F) at the lake and puzzled by the phenomenon that it can sometimes be a good day even when no fish are caught, decides to create a naive Bayes model with F as the Boolean class variable and three features: whether it rained (R), how many fish were caught (C) with values {none, some, lots}, and whether it was windy (W). A naive Bayes net is shown in Figure S12.1.
a. Here are some plausible probability tables estimated from (entirely made up) data:
Given this model, calculate the following probabilities:
(i) P(F = true | R = true, C = none, W = true).
(ii) P(F = true | R = false, C = lots, W = false).
(iii) P(F = true | R = true, C = some, W = false).
b. Derive symbolic expressions for the following probabilities in terms of P(R | C), P(C | F), P(W | F), and P(F):
(i) P(R).
(ii) P(R | C, W).
(iii) P(R, C, W | F).
c. Comment on the plausibility of the conditional independence assumptions made by the naive Bayes model.
Figure S12.1 A naive Bayes model for fishing.
Step by Step Answer:
Artificial Intelligence A Modern Approach
ISBN: 9780134610993
4th Edition
Authors: Stuart Russell, Peter Norvig