Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2.2 (20 points) SVM with the RBF Kernel In this sub-problem, you need to use the SVM with the radial basis function (R.BF) kernel to

image text in transcribed
2.2 (20 points) SVM with the RBF Kernel In this sub-problem, you need to use the SVM with the radial basis function (R.BF) kernel to conduct the binary classification. 1) Train the SVM classifier using a RBF kernel. In SVM with the RBF kernel, there is a parameter C and a parameter y which can be tuned. Again you would need to use a grid search method with cross-validation (3-fold) to find the best combination of parameter C* and y* for current SVM model on training and validation set. Hint 1: You are allowed to use svm. SVC() and GridSearchCV() in your code. Hint 2: You can perform grid search on the following list of C' and y: CE {0.1, 1, 10, 100}, ye {10-7, 10 6, 10 5, 10-47 2) Draw heatmaps for the result of grid search and find the best C* and y* for average validation accuracy. Report the heatmaps and best C* and y*. 3) Use the the best C* and y* to train a SVM classifier with a RBF kernel on training and validation set. Then, use the trained classifier to calculate the accuracy on test set. Report the test accuracy

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Derivatives Markets

Authors: Robert McDonald

3rd Edition

978-9332536746, 9789332536746

Students also viewed these Mathematics questions