

Besser lernen dank der zahlreichen Ressourcen auf Docsity
Heimse Punkte ein, indem du anderen Studierenden hilfst oder erwirb Punkte mit einem Premium-Abo
Diese Seite wird in der Vorschau nicht angezeigt
Lass dir nichts Wichtiges entgehen!


Lecture: Prof. Dr. Alois Pichler Exercises: M.Sc. Ruben Schlotter
Problem 1. Suppose that the random variable X is normally distributed with mean μ and covariance matrix ΣX. Furthermore suppose that the random variable Y conditional on X has the distribution Y | X ∼ N (AX + b, ΣY ).
Show that
X | Y ∼ N
A>Σ−^1 (Y − b) + Σ− X^1 μ
Aμ + b, ΣY + AΣX A>
where Σ =
Problem 2. Suppose that k 1 (x, x′) and k 2 (x, x′) are valid kernel functions. Show that
k(x, x′) = ck 1 (x, x′) k(x, x′) = f (x)k 1 (x, x′) f (x′) k(x, x′) = q (k 1 (x, x′)) k(x, x′) = exp (k 1 (x, x′)) k(x, x′) = k 1 (x, x′) + k 2 (x, x′) k(x, x′) = k 1 (x, x′) · k 2 (x, x′) k(x, x′) = k 3 (Φ(x), Φ(x′)) k(x, x′) = x>^ Ax′
are also valid kernels. Here, c > 0 , f is an arbitrary function, q is a polynomial function with nonnegative coefficients, Φ is a function mapping x into RM^ and k 3 is a valid kernel in RM^. Furthermore A is a symmetric positive semidefinite matrix.
From last year
Problem 3. Describe a situation in which AUC and F 1 -score may give very different results and explain why.
Problem 4. Using the WDBC dataset provided on the website and classify using the soft margin SVM method. Calculate the performance measures discussed last week and plot the ROC curve by varying the regularization parameter λ in
min in w,b
n
’^ n
i= 1
max
0 , 1 − yi (wT^ xi − b)
λ 2
‖w‖^2.
You may use a kernel function, as discussed in Section 5.8.2 and 5.8.3 in the script.