[Solved] Lab 7 Learning in Reproducing Kernel Hilbert Spaces DATA442/642

$25

File Name: Lab_7_Learning_in_Reproducing_Kernel_Hilbert_Spaces_DATA442/642.zip
File Size: 593.46 KB

SKU: [Solved] Lab 7 Learning in Reproducing Kernel Hilbert Spaces DATA442/642 Category: Tag:
5/5 - (1 vote)

Exercise 1

For this exercise, the performance of the SVM is tested in the context of a two-class twodimensional classification task. The data set comprises N = 150 points uniformly distributed in the region [5,5] [5,5]. For each point xn = [xn,1,xn,2]>, we compute

where stands for zero mean Gaussian noise of variance = 4. The point is assigned to either of the two classes, depending on the value of the noise as well as its position with respect to the graph of the function

f(x) = 0.05x3 + 0.05x2 + 0.05x + 0.05

in the two-dimensional space. That is, if xn,2 yn, the point is assigned to class 1; otherwise, it is assigned to class 2.

  • Plot the points [xn,1,xn,2] using different colors for each class.
  • Use SVM with the Gaussian kernel for = 20 and set C = 1. Plot the classifier and the margin. Moreover, find the support vectors (i.e., the points with nonzero Lagrange multipliers that contribute to the expansion of the classifier) and plot them as circled points.
  • Repeat step (b) using C = 0.5,0.1,0.
  • Repeat step (b) using C = 5,10,50,
  • Comment on the results.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] Lab 7 Learning in Reproducing Kernel Hilbert Spaces DATA442/642
$25