Q4. Suppose that we have the following model:

1. H1, the patient got a cold;
2. H2, the patient has Meningitis.

with their prior probabilities, P(Hi)s, and two conditionally independent pieces of evidence

1. E1, the patient has a high temperat ure,
2. E2, the patient got a severe headache.

Using Bayesian reasoning, show the initial and the final ranking of each cause if a person is observed to have a high temperature then a severe headache.

P(H1)=0.6
P(H2)=0.4
P(E1–H1)=0.9
P(E1–H2)=0.8
P(E2–H1)=0.5
P(E2–H2)=0.9