Question: For a binary classification problem, there is a data set with 2 feature variables. The data are presented in a scatter plot, see Figure 2

For a binary classification problem, there is a data set with 2 feature variables. The data are
presented in a scatter plot, see Figure 2. The following R codes are used to train two candidate
models.
model1<- ksvm ( Species ~., data = data , kernel =rbfdot , kpar = list ( sigma =.1))
model2<- ksvm ( Species ~., data = data , kernel =rbfdot , kpar = list ( sigma =10))
The resulting models are visualized in Figure 3.
(i) Which model do you prefer? Given the meaning of the parameter of RBF kernel, explain
why the two resulting models have dramatically different behaviors. Note: sigma in ksvm
function is the inverse kernel width for the Radial Basis kernel function, i.e.\sigma 1. RBF kernel is
\kappa (x, y)= exp(\| x y\|2/2\sigma 2), where \|\| is the 2 norm.

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 Databases Questions!