Starting from:

$29.99

Machine Learning  Written Problems Week 7 

EECS 440: Machine Learning  Written Problems Week 7 
General Instructions: Write or type your answers neatly and remember to show all relevant work. All
questions are worth 10 points. Each answer should be a separate pdf, and you can turn in the pdfs on
canvas in the appropriate assignment. Some questions may be very challenging; significant partial credit
is available for reasonable attempts at solutions. Since each question is worth the same number of points,
do not waste too much time on any one. Ask me or the TAs for help if stuck.
Some of the questions require you to write short programs to simulate things. You can use any
language/software to do this, and you do not need to turn in your code.
Upload your answers to Canvas as a pdf file by 11:59pm on the due date specified after the question. You
will receive a 10% bonus for a solution turned in a week or more in advance of the due date. You can use
one late day each week (up to Saturday 11:59pm) with a penalty of 20%. Submissions after Saturday
11:59pm for any week will not be graded.
Each group must do their own work. Only one submission is needed from each group. Do not use any
source other than the lecture notes, textbook(s) and readings on the class website to answer these
questions. Only those who contributed equally to a submission should have their names and Case IDs on
the submission. Those not listed as contributing will not receive points.
28. For a constrained programming problem minw f(w) s.t. gi(w) ≤ 0, hj(w)=0, the generalized
Lagrangian is defined by L(w,α,β)=f(w)+∑ αigi(w)+ ∑ βjhj(w), αi ≥ 0. A primal linear program is
a constrained program of the form: minx c′x s.t. Ax≥ b, x≥ 0. Using the generalized Lagrangian,
show that the dual form of the primal LP is maxu b′u s.t. A′u ≤ c, u ≥ 0.
29. Suppose K1 and K2 are two valid kernels. Show that for positive a and b, aK1+bK2 is also a valid
kernel.
30. Suppose K1 and K2 are two valid kernels. Show that for positive a and b, aK1K2 is also a valid
kernel, where the product is the Hadamard product: if K=K1K2 then K(x,y)=K1(x,y)K2(x,y).
31. Define K(x,y)=(x·y+c)3
, where c is a positive constant. Prove that K is a valid kernel by finding φ
so that K= φ(x)∙φ(y) .
32. Prove that K above is a valid kernel by showing that K is symmetric positive semidefinite. 

More products