Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Examen

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

Puntuación
-
Vendido
-
Páginas
41
Grado
A+
Subido en
03-07-2026
Escrito en
2025/2026

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

Institución
CS 559
Grado
CS 559

Vista previa del contenido

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.

Escuela, estudio y materia

Institución
CS 559
Grado
CS 559

Información del documento

Subido en
3 de julio de 2026
Número de páginas
41
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

$24.49
Accede al documento completo:

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Conoce al vendedor
Seller avatar
sirtyhuktt

Conoce al vendedor

Seller avatar
sirtyhuktt Teachme2-tutor
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
5
Miembro desde
2 año
Número de seguidores
2
Documentos
507
Última venta
2 meses hace

0.0

0 reseñas

5
0
4
0
3
0
2
0
1
0

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes