Answered step by step
Verified Expert Solution
Question
1 Approved Answer
### Part 3 : Nonlinear SVM , Parameter Tuning, Accuracy, and Cross - Validation * * * Any support vector machine classifier will have at
### Part : Nonlinear SVM Parameter Tuning, Accuracy, and CrossValidation
Any support vector machine classifier will have at least one parameter that needs to be tuned based on the training data. The guaranteed parameter is the $C$ associated with the slack variables in the primal objective function, ie
$$
minbf w bbf xifracbf w C sumim xii
$$
If you use a kernel fancier than the linear kernel then you will likely have other parameters as well. For instance in the polynomial kernel $Kbf xbf zbf xTbf z cd$ you have to select the shift $c$ and the polynomial degree $d$ Similarly the rbf kernel
$$
Kbf xbf zexpleftgammabf xbf zright
$$
has one tuning parameter, namely $gamma$ which controls how fast the similarity measure drops off with distance between $bf x$ and $bf z$
For our examples we'll consider the rbf kernel, which gives us two parameters to tune, namely $C$ and $gamma$
Consider the following two dimensional data
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started