



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Assignment; Professor: Choe; Class: ARTIFICIAL INTELLIGENCE; Subject: COMPUTER SCIENCE; University: Texas A&M University; Term: Unknown 1989;
Typology: Assignments
1 / 6
This page cannot be seen from the preview
Don't miss anything!




Total: 130 pts
Important: In this section, assume that w, x, y, z are variables; A, B, C, D are constants; and f (·), g(·), h(·) are functions; and P (·), Q(·), R(·) are predicates.
To do automatic theorem proving in first-order logic, you need to go through three steps to convert your initial first-order logic expression into a standard form. These are:
Question 1 (12 pts): Convert to prenex normal form (4 points each):
Question 2 (20 pts): Skolemize the expressions (4 points each):
Question 3 (9 pts): Convert the following into a standard form:
∀x, [¬P (x) → ¬(∃y, Q(x, y))]
SOLUTION: ∀x, [¬P (x) → ¬(∃y, Q(x, y))] ∀x, [¬¬P (x) ∨ ¬(∃y, Q(x, y))] ∀x, [P (x) ∨ (∀y, ¬Q(x, y))] ∀x, ∀y, [P (x) ∨ ¬Q(x, y)] P (x) ∨ ¬Q(x, y)
2 Uncertainty and Probabilistic Reasoning
B T^ T^ F^ F^
E T F T F
P(A) . . .
.
P(B) .
P(E)
Alarm
Earthquake
JohnCalls MaryCalls
Burglary
A P(J) T^ F .90. A P(M) T^ F .70.
.
Figure 1: Belief Network. See problem 1.
Question 1 (10 pts): Given the Belief network as shown in figure 1, calculate the two joint probability values and answer the question. Note that in this section P (·) denotes the probability of the event. (5 points each):
Question 2 (5 pts): Why do belief networks give a much more compact representation of the joint proba- bility distribution, compared to a full joint probability table?
SOLUTION: Because the joint probability can be represented as a product of conditional probabilities where each node is conditioned on only a small number of other nodes (their parents) in the network due to the conditional independence structure of the domain, and thus much smaller probability tables for each node.
3 Learning
Consider the following set of examples where you are trying to make a decision whether to take a course or not.
Example# Usefulness in life Toughness Fun Decision (Take course?) 1 Stellar Okay Medium Yes 2 Not bad Very tough High Yes 3 Zero Light Medium No 4 Not bad Light Low No 5 Not bad Light High Yes 6 Not bad Very tough Low No 7 Zero Okay Medium No 8 Stellar Very tough Low Yes 9 Stellar Okay Medium Yes 10 Zero Light High No
Question 1 (12 pts): For each of the three attributes above, draw a decision tree rooted at that attribute with a single depth. See slide06, page 12, (a) and (b) which show some examples. (4 points each)
SOLUTION: