Do the following exercises based on the Bayesian
network shown in Figure 14.12a:
- Implement the network using the AIMA Python tools.
- Compute the number of independent values in the full joint
probability distribution for this domain. Assume that no
conditional independence relations are known to hold between these
values.
- Compute the number of independent values in the Bayesian
network for this domain. Assume the conditional independence
relations implied by the Bayes network.
- Compute probabilities for the following:
- P(Cloudy)
- P(Sprinker | cloudy)
- P(Cloudy| the sprinkler is running and
it’s not raining)
- P(WetGrass | it’s cloudy, the
sprinkler is running and it’s raining)
- P(Cloudy | the grass is not wet)
Provide both computer-generated solutions and hand-worked
derivations of how these numbers are computed.
Final project suggestion: Consider building an expert system
for some knotty problem, comparing and contrasting the traditional,
rule-based technologies with the newer Baysian-network-based
technologies.
Checking in
Submit the files specified above in Moodle under homework 6. We will grade your
work according to the following criteria:
- Exercise 1 - Complete the program as specified above.
- 20% - Implement the network properly.
- 10% - Compute the appropriate value.
- 10% - Compute the appropriate value.
- 60% - Compute the values correctly and include
hand-executed demonstrations.