Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

### Part 3 : Nonlinear SVM , Parameter Tuning, Accuracy, and Cross - Validation * * * Any support vector machine classifier will have at

### Part 3: Nonlinear SVM, Parameter Tuning, Accuracy, and Cross-Validation
***
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, i.e.
$$
\min_{{\bf w}, b,{\bf \xi}}\frac{1}{2}\|{\bf w}\|^2+ C \sum_{i=1}^m \xi_i
$$
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 $K({\bf x},{\bf z})=({\bf x}^T{\bf z}+ c)^d$ you have to select the shift $c$ and the polynomial degree $d$. Similarly the rbf kernel
$$
K({\bf x},{\bf z})=\exp\left[-\gamma\|{\bf x}-{\bf z}\|^2\right]
$$
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

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

Joe Celkos Data And Databases Concepts In Practice

Authors: Joe Celko

1st Edition

1558604324, 978-1558604322

More Books

Students also viewed these Databases questions

Question

Solve the equation. (x + 3)-2/3 2(x + 3)-1/3 = 3

Answered: 1 week ago