Question
Consider the Bayes net shown in Figure. Here, the nodes represent the following variables X1 {winter, spring, summer, autumn}, X2 {salmon, sea bass} (10.62) X3
Consider the Bayes net shown in Figure.
Here, the nodes represent the following variables
X1 {winter, spring, summer, autumn}, X2 {salmon, sea bass} (10.62) X3 {light, medium, dark}, X4 {wide, thin} (10.63)
The corresponding conditional probability tables are
Note that in p(x4|x2), the rows represent x2 and the columns x4 (so each row sums to one and represents
the child of the CPD). Thus p(x4 = thin|x2 = sea bass) = 0.05, p(x4 = thin|x2 = salmon) = 0.6, etc. Answer the following queries. You may use matlab or do it by hand. In either case, show your work.
a. Suppose the fish was caught on December 20 the end of autumn and the beginning of winter and thus let p(x1) = (.5, 0, 0, .5) instead of the above prior. (This is called soft evidence, since we do not know the exact value of X1, but we have a distribution over it.) Suppose the lightness has not been measured but it is known that the fish is thin. Classify the fish as salmon or sea bass.
b. Suppose all we know is that the fish is thin and medium lightness. What season is it now, most likely?
Use p(x1) = (.25 .25 .25 .25)
Season X2) Fish 1S X3 Lightness X) Thickness 4 Season X2) Fish 1S X3 Lightness X) Thickness 4Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started