






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







December 19, 2006 Instructor: Jerry Zhu
CLOSED BOOK (Two letter-size notes allowed. You don’t need to hand them in)
Problem Score Max Score: 5 points each 1 ___________ 2 ___________ 3 ___________ 4 ___________ 5 ___________ 6 ___________ 7 ___________ 8 ___________ 9 ___________ 10 ___________ 11 ___________ 12 ___________ 13 ___________ 14 ___________ 15 ___________ 16 ___________ 17 ___________ 18 ___________ 19 ___________ 20 ___________
Total ___________ 100
= (^) ∑ − i j
E vi v j ~
2 ( ) ,
where the sum is over all resistors, i and j are the two nodes connected by the resistor, and vi , vj are the voltages at node i, j respectively. What should the voltage x be to minimize the heat?
ma x
mi n
mi n
mi n 3 6
1
0
2
0
5
Chance p=0.4 (^) p=0.
P Q P NAND Q T T F T F T F T T F F T
Express (P OR Q) using and only using NAND, P, Q. (Hint: you need 3 NAND’s. What is P NAND P?)
2, 4 3, 7 4, 5
1, 2 5, 4 2, 3
4, 0 2, 8 5, 3
3, 6 4, 0 1, 9
{(x=1, y=+), (x=2, y=-), (x=4, y=-), (x=8, y=+), (x=16, y=-)} a) What is the leave-one-out accuracy with 1-nearest-neighbor classifier? Use Euclidean distance. b) What is the leave-one-out accuracy with 3-nearest-neighbor classifier? Use Euclidean distance.