



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
Main points of this past exam are: Connected Maps, Heuristic Functions, Gradient Descent, D-Dimensional, Gradient Descent, 8-Puzzle Problem, Knowledge Base
Typology: Exams
1 / 5
This page cannot be seen from the preview
Don't miss anything!




Final Examination CS540-1: Introduction to Artificial Intelligence December 20, 2010. (20 questions, 5 points each)
LAST NAME: SOLUTION FIRST NAME:
EMAIL :
The robot has a ½ chance of succeeding at each image regardless of its content. The trials are independent. The overall probability of success is therefore 2-N.
i. min{ j in all cities} ( max( D(i,j), D(k,j) )) no, it might be faster to go through an intermediate city. ii. min{ j in all cities} ( max( S(i,j), S(k,j) )) yes, this is physics b. Are there completely connected maps for which no solution exists? no, they can always meet c. Are there maps in which all solutions require one friend to visit the same city twice? no, he might as well stay in that city.
minimize f(X)=x 1 +x 22 + x 33 + … + xdd^ using gradient descent. Let the step size be =0.1. If we start at X=(1,1,…,1) the all-one vector, which X will we be at after one iteration of gradient descent? X=X-. The i-th dimension of the gradient is i(xi)i-1. So the new X=(1-0.1, 1-0.2, …, 1-0.1*d)
a. Suppose the candidate colors are yellow, blue, and red. What is the output of the AC- algorithm? A={Y}, B={B}, C={B}, D={R}, E={BY} b. Repeat the question but suppose the candidate colors are yellow, blue, red, and black. A={Y}, B={B}, C={BRK}, D={RK}, E={BRKY}
A B use resolution to prove the query: AB CNF: KB: AB, BA; negative query: B, A AB, B A,A empty
(x31=1, x32=0), y3= (x41=1, x42=1), y4= a. Can a linear SVM perfectly classify this dataset? No. XOR not linearly separable b. What if we map each feature vector X=(x1, x2) into (X)=(2x1, 2x2, -x1-x2)? still no, this is a linear mapping. c. In general, is there a set of three 2-dimensional points such that, no matter what binary label we give to each point, a linear SVM can perfectly classify the resulting dataset? yes. Any three points that are not co-linear will do. d. Same as above, but with four instead of three points. no. this is easy to see as in the XOR example. e. Same as above, but with five points. no. this is strictly harder than four points.
w = -
w = 1
w = 1
w = 1
(^1) w = -0.
(^1) w = -
(^1) w = -0.
w < - 0.
5 <= w < 15