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 feature variables. The data are
presented in a scatter plot, see Figure The following R codes are used to train two candidate
models.
model ksvm Species ~ data data kernel rbfdot kpar list sigma
model ksvm Species ~ data data kernel rbfdot kpar list sigma
The resulting models are visualized in Figure
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, iesigma RBF kernel is
kappa x y exp x ysigma where is the norm.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
