Machine Learning with Viya® 3.4® Lesson 5: Support Vector Machines (SVG) and Additional Topics Flashcards
What is a dot product?
A dot product is a way to multiply vectors that result in a scalar, or a single number, as the answer. It is an element-by-element multiplication, and then a sum across the products.
How is a support vector machine constructed in order to avoid the curse of dimensionality?
By using only the observations closest to the separating hyperplane
How does using only the observations closest to the separating hyperplane avoid the curse of dimensionality?
By limiting the number of data points in the solution.
What kind of information is in the Training Results table in an SVM run?
The Training Results table shows the parameters for the final Support Vector Machine model such as the number of support vectors and the bias.
Where can you find the average square error on the VALIDATE partition?
In the Fit Statistics table on the Assessment tab.
Where can you view the misclassification matrix?
The Output Window
What are the two constraints used to solve for optimization in a support vector machine?
If the target variable equals 1, then H must be greater than or equal to 1. If the target is -1, then H must be less than or equal to -1.
What’s a term for describing data points that are not linearly separable?
soft margin hyperplane
What do you need to do when you encounter a soft margin hyperplane?
Account for errors that the separating hyperplane might make
TRUE or FALSE: When the data are not linearly separable, the process of optimizing the location of the hyperplane must account for classification errors.
TRUE: When the data are not linearly separable, the hyperplane will misclassify some data points. In this situation, the process of optimizing the location of the hyperplane must account for these classification errors.
What is a kernel function?
A kernel function operates as a dot product in a higher dimension (that is, in a feature space), but it is applied to the raw data.
Suppose you are modeling data with a binary target and three inputs. The data are linearly separable. How many possible solutions exist that classify the target?
an infinite number of solutions can classify the binary target when the data are linearly separable
What type of target variable is supported in a support vector machine in Model Studio?
Support vector machines are used exclusively with binary targets in Model Studio.
What are the elements of a classifier model for a Support Vector Machine?
The classifier model (H) has two elements: a normal vector and a bias term
What is the maximum-margin hyperplane in a two-dimensional input space?
the exact center of the thickest line that touches the innermost values of one target outcome and the innermost values of the other target outcome
What are support vectors?
Support vectors are the points in the data that are closest to the maximum-margin hyperplane.
In support vector machines, finding the separating hyperplane is an optimization problem with constraints that involve the values of the binary target.
a. True
b. False
A: True
Solving for the support vector machine is actually an optimization problem with two constraints. The first constraint is based on a target value of +1, and the second constraint is based on a target value of -1.