



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; Class: ARTIFICIAL INTELLIGNCE; Subject: COMPUTER SCIENCE; University: Texas A&M University; Term: Unknown 1989;
Typology: Assignments
1 / 5
This page cannot be seen from the preview
Don't miss anything!




Total: 100 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 (10 pts): Skolemize the expressions (2 points each):
Question 3 (9 pts): Convert the following into a standard form:
∀x [P (x) → (∃yQ(x, y))]
SOLUTION: ∀x [¬P (x) ∨ (∃yQ(x, y))] ∀x∃y [¬P (x) ∨ Q(x, y)] ¬P (x) ∨ Q(x, f (x))
Question 1 (9 pts): Apply the following substitutions to the expressions (3 point each);
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^ . .
.
Figure 1: Belief Network. See problem 1.
2 Uncertainty and Probabilistic Reasoning
Question 1 (14 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. (7 points each):
3 Learning
Consider the following set of examples where you are trying to make a decision whether to buy a car or not, given three decision criteria (or attributes): Resale value, Dealer location, and Type.
Example# Resale value Dealer location Type Accept Job Offer? 1 High San Antonio SUV Y 2 High Houston Sedan Y 3 Low San Antonio SUV N 4 High Dallas SUV Y 5 Medium Dallas SUV N 6 Low Dallas Sedan N 7 Low Austin Sedan N 8 Low San Antonio SUV Y 9 Low Houston Sedan N 10 High Austin SUV Y 11 Medium San Antonio Sedan N 12 Low Dallas SUV Y
Question 1 (15 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 shows an example. (5 points each)
Question 2 (15 pts): Calculate the information gain for each of the three attributes and explain which attribute should be picked to be tested first. (5 points each)