[SOLVED] CS532 Assignment 9

35.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon a9-knb7tu.zip (502.3 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (2 votes)

a) Build a kernel classifier using • the squared error loss function
• an `2 regularizer with λ = 0.5.
• the Guassian Kernel K(u,v) = exp(−||u − v||2/(2σ2).
b) Train your classifier choosing for different values of σ and create a plot with σ on the horizontal axis and accuracy on the vertical axis and comment on the plot. Does your classifier achieve 0% training error?
c) Find a more realistic estimate of the accuracy of your classifier by using 8-fold cross validation. Can you achieve perfect test accuracy?
2. Kernel Regression, Lake Mendota Clarity. The Secchi depth is a measure of water clarity obtained by lowering a black and white disk off the shady side of a boat and recording the depth at which the disk is no longer visible.

1 of 2
λ = 0.01 and scale parameter σ = 10. Plot the resulting fit, and comment on the results. Do these parameters overfit or underfit the data? Adjust the regularization parameter to find a visually better fit.
b) Describe how you could use k-fold cross validation to systematically find a good value of σ and λ.
2 of 2

  • a9-knb7tu.zip