Question 1 rewrite the one and two dimensional cases into a form using x (1 dimensional) as a point value. and x, y (2 dimensional) in slope intercept form.
Question
2 In general, if the points are linearly separable, how many
separating hyperplanes exist?
Find the separating hyperplane with the furthest minimum distance an observation
As the book says: midpoint of the largest “slab” you could insert between the classes
Observations that are minimally distant from the Classifier
Question 3 What is the minimum number of support vectors? maximum?
See text
This is the most common in the real world. Instead of requiring an exact separation (margin), we can create a hyperplane that almost separates the classes (soft margin). This leads to Support Vector Classifiers
Also called a soft margin classifier
Maximal Margin Classifiers tend to overfit and are extremely sensitive to training data (even a single point)
\[\text{maximize } M \text{ subject to: }\] \[\text{subject to } \sum_{j=1}^p\beta_j^2=1\] \[y_i(\beta_0+\beta_1x_{i1}...+\beta_px_{ip})\geq M(1-\epsilon_i)\] \[\epsilon_i\geq0\text{, }\sum_{i=1}^n\epsilon_i\leq C\]
Question 4 How well will this do on data that is not linearly separable at all, even if it is separable with a simple shape (e.g. a circle). (see board)
Question 5 9.7.2 in the text
Similar to going from linear regression to quadratic/polynomial regression, we can go from a support vector classifier to a support vector machine. However, instead of using polynomial scaling, we use “kernels” (you can look them up yourself later)
We won’t cover this in detail.
Question 10 Work through 9.6.2 to make sure you understand SVMs enough to do the homework. (not graded)