Question: 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

 2.2 (20 points) SVM with the RBF Kernel In this sub-problem,

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!