Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

CS 559 Quiz 7: Support Vector Machines (SVM) Questions and Answers | 2026 Update | 100% Correct.

Rating
-
Sold
-
Pages
41
Grade
A+
Uploaded on
03-07-2026
Written in
2025/2026

CS 559 Quiz 7: Support Vector Machines (SVM) Questions and Answers | 2026 Update | 100% Correct.

Institution
CS 559
Course
CS 559

Content preview

CS 559 Quiz 7: Support Vector Machines
(SVM) Questions and Answers | 2026
Update | 100% Correct.



Basic SVM Concepts

Q1: What is the primary objective of a Support Vector Machine?
A) To minimize classification error on training data
B) To maximize the margin between classes while minimizing classification error
C) To find the most complex decision boundary possible
D) To minimize the number of support vectors

Answer: B
Rationale: SVM aims to find the optimal hyperplane that maximizes the margin (distance)
between classes while correctly classifying as many training points as possible. This is the
fundamental principle behind SVM.




Q2: What are support vectors?
A) All training data points
B) Only the misclassified points
C) Data points that lie on or within the margin boundary
D) Randomly selected points from the training set

Answer: C
Rationale: Support vectors are the training examples that are closest to the decision

,boundary and influence the position and orientation of the separating hyperplane. They lie
on the margin boundaries or are within the margin.




Q3: In a linearly separable dataset, how many support vectors are typically
needed?
A) At least 2
B) At least 3
C) All data points
D) None

Answer: A
Rationale: In the simplest case of 2D linearly separable data, the minimum number of
support vectors required to define the margin is 2 (one from each class), though in practice
there are often more.




Q4: What is the margin in SVM?
A) The distance between the hyperplane and all data points
B) The distance between the hyperplane and the nearest data point from either class
C) The distance between the two class centers
D) The total number of misclassified points

Answer: B
Rationale: The margin is defined as the perpendicular distance from the separating
hyperplane to the nearest training data point of either class. SVM maximizes this margin.

,Q5: What is the decision function of a linear SVM?
A) f(x) = w·x + b
B) f(x) = w·x - b
C) f(x) = w² + b
D) f(x) = |w·x| + b

Answer: A
Rationale: The linear SVM decision function is f(x) = w·x + b, where w is the weight vector
and b is the bias term. The sign of f(x) determines the class prediction.




Q6: What is the hinge loss function?
A) L(y, f(x)) = max(0, 1 - y·f(x))
B) L(y, f(x)) = (y - f(x))²
C) L(y, f(x)) = |y - f(x)|
D) L(y, f(x)) = -log(1 + exp(-y·f(x)))

Answer: A
Rationale: Hinge loss is defined as max(0, 1 - y·f(x)), where y ∈ {-1, +1}. It penalizes
predictions that are on the wrong side of the margin, with no penalty for correct
predictions beyond the margin.




Q7: What does the parameter C control in SVM?
A) The learning rate
B) The trade-off between margin maximization and misclassification penalty
C) The number of support vectors
D) The kernel type

, Answer: B
Rationale: C is the regularization parameter that controls the trade-off between having a
wider margin and minimizing training error. Smaller C allows more misclassifications
(wider margin), larger C forces fewer misclassifications (narrower margin).




Q8: What happens when C approaches infinity in SVM?
A) The model becomes fully regularized
B) The model becomes a hard-margin SVM
C) The model ignores all training data
D) The model becomes a soft-margin SVM with maximum margin

Answer: B
Rationale: As C → ∞, the penalty for misclassification becomes infinitely large, forcing the
model to correctly classify all training points, effectively becoming a hard-margin SVM.




Q9: What happens when C approaches 0 in SVM?
A) The model becomes a hard-margin SVM
B) The model prioritizes margin maximization over classification accuracy
C) The model overfits the training data
D) The model becomes identical to logistic regression

Answer: B
Rationale: Small C values prioritize maximizing the margin even at the cost of
misclassifying some training points, leading to a simpler, more regularized model.

Written for

Institution
CS 559
Course
CS 559

Document information

Uploaded on
July 3, 2026
Number of pages
41
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$24.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
sirtyhuktt

Get to know the seller

Seller avatar
sirtyhuktt Teachme2-tutor
View profile
Follow You need to be logged in order to follow users or courses
Sold
5
Member since
2 year
Number of followers
2
Documents
471
Last sold
2 months ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions