



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
A comprehensive examination in Artificial Intelligence from Stanford University in Autumn 2000. The exam consists of two parts: Uninformed Search and Logic: resolution. The exam is open book and partial credit is given for incomplete answers. The exam is worth 60 points and is designed to be completed in a set amount of time. The exam includes questions on search algorithms, logic, and natural language processing.
Typology: Exams
1 / 5
This page cannot be seen from the preview
Don't miss anything!




Computer Science Department Stanford University Comprehensive Examination in Artificial Intelligence Autumn 2000
October 31,
PLEASE READ THIS FIRST
a. You should write your answers for this part of the Comprehensive Examination in a BLUE BOOK. Be sure to write your MAGIC NUMBER on the cover of every blue book that you use.
b. Be sure you have all the pages of this exam. There are 4 pages in addition to this cover sheet.
c. This exam is OPEN BOOK. You may use notes, articles, or books -but no help from people or computers.
example, you can get credit for making a reasonable start on a problem even if the idea or arithmetic does not work out. You can also get credit for realizing that certain approaches are incorrect.
e. Points in this exam add up to 60. Points are allocated according to the number of minutes we believe a student familiar with the material should take to answer the questions. If you are somewhat less familiar with the material, a question may easily take you longer than the number of points it's worth. Therefore be careful:
1 Search (8 points)
a. Uninformed Search
(i) (1point) Describe or give an example of a search space where depth-first search will perform much better than iterative deepening search (ii) (1 point) Describe or give an example of a search space where breadth-first
(iii) (1point) Describe or give an example of a search space where depth-first search will perform much better than breadth-first search
b. Heuristic Search (5 points) A* search involves evaluating search paths via f^ = g + h, where g is the lowest cost path to the current search state, and h is the heuristic function which provides an optimistic estimate of the cost to a goal state. Now assume that the heuristic function h is induced from a cost function between nodes hl(x, y) which obeys the triangle inequality. ((Thetriangle inequality says that the sum of the costs
the f-cost along any path in the search tree is nondecreasing.
2 Logic: resolution (12 points)
(This question comes from (the late)Jon Barwise and (our new provost) John Etchemendy. It also appears in the exercises of Russell and Norvig.) Consider the following statements:
homed. The unicorn is magical, if it is homed.
From the above, can you prove that the unicorn is mytkucal? How about magical? Horned? Use resolution for your proofs (using propositional logic is possible and acceptable). Show:
a. (2 points) the basic logical translation of this text
b. (2 points) the translations of these into a form suitable for resolution theorem prov- ing
being able to conclude that the fact that unicorns have this property doesn't follow from the information given.
For training data, we have examined 12 Comps questions, and have collected the following statistics, which we show twice: on the left are counts for the diferent data patterns, and on the right the data is shown in a contingency table showing
l o - 1 1 0 + 2 1 1 - 1 1 1 1 - 0
no stopping criterion or pruning, so that the tree is grown so long as there is some classificatory feature that appears to have information about the target feature).
the prior and independently from the classificatory features as follows:
(That is, it calculates the expression shown for both d = + and d = - and chooses the value of d that gives the expression higher probability.) What classificatory de- cisions would a Naive Bayes classifier make for each combination of classificatory variables?
d. (3 points) Suppose we have 3 test data instances, whose correct classification we know, as follows:
What is the decision of each classifier on each datum? Which does better overall?
5 Vision and Natural Language Processing (14 points)
a. (2 points) One can easily use a segmentation algorithm to find edges in images. However, it is generally hard to use an edge detector to segment an image into regions. Why doesn't the output of an edge detector segment an image into regions?
b. (2 points) You want to design a vision system that uses shading information to re- cover the three-dimensional geometry of the scene from pictures taken in the real
are you going to face?
(i) (1point) a set of phrase structure grammar rules (ii) (1point) a lexicon
(iv) (3 pohts) semantic combination rules for the grammar rules, in the form of a definite clause grammar
for the sentence:
ful(sydney) & city(sydney). You may find it helpful to look at, but will need to ex-
in your lexicon will need to include lambda-expressions, as shown there.
(v) (2 points) Discuss the most salient difficulties involving the semantics of this
difficult.