4. 9 SVM decision boundary. Consider again an SVM whose decision boundary is obtained by Equations 1 and 2 like in the previous questions. Now, consider the training dataset with two training classes (signaled as squares and triangles) given by the scatter plot in the following figure. Draw the decision boundary for this dataset obtained by our SVM on it. The drawing needs to correctly separate the examples but there are multiple possible solutions. Each point of the line you draw must match the points of the true decision boundary within the error margin of 10 unit intervals along the x-axis and y-axis. 100 95 90 85 80 75 70 65 60 55 A 0 0 P

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
5:25 PM Sun Oct 23
"
Done
W
SEVANEMATE VAN
5
4.
↑
Y-axis
100
95
90
85
80
75
70
65
60
55
50
45
40
35
30
25
20 A
15
10
SVM decision boundary. Consider again an SVM whose decision boundary is obtained by
Equations 1 and 2 like in the previous questions. Now, consider the training dataset with two training
classes (signaled as squares and triangles) given by the scatter plot in the following figure. Draw the
decision boundary for this dataset obtained by our SVM on it. The drawing needs to correctly separate
the examples but there are multiple possible solutions. Each point of the line you draw must match
the points of the true decision boundary within the error margin of 10 unit intervals along the x-axis
and y-axis.
50
0-
4
80
A
A
●●●
hw3_handout
50
A
A
9
A
.….……………….
A
IU
0
0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100
X-axis
69
+
0
10
:
@ 97%
Transcribed Image Text:5:25 PM Sun Oct 23 " Done W SEVANEMATE VAN 5 4. ↑ Y-axis 100 95 90 85 80 75 70 65 60 55 50 45 40 35 30 25 20 A 15 10 SVM decision boundary. Consider again an SVM whose decision boundary is obtained by Equations 1 and 2 like in the previous questions. Now, consider the training dataset with two training classes (signaled as squares and triangles) given by the scatter plot in the following figure. Draw the decision boundary for this dataset obtained by our SVM on it. The drawing needs to correctly separate the examples but there are multiple possible solutions. Each point of the line you draw must match the points of the true decision boundary within the error margin of 10 unit intervals along the x-axis and y-axis. 50 0- 4 80 A A ●●● hw3_handout 50 A A 9 A .….………………. A IU 0 0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 X-axis 69 + 0 10 : @ 97%
Consider an SVM that obtains a decision boundary through the maximization optimization in Equation (1),
which is equivalent to the minimization optimization in Equation (2), where 3 and 3o denote the parameters,
x the i-th training example, y, € {−1, 1} the class label for the i-th training example, M the margin, N the
number of instances.
which is equivalent to
1.
M
2.
max
B,Bo,||B||2=1
subject to y (x + ßo) ≥ M, i = 1, ..., N.
min=||||
B,Bo 2
subject to y (x + ßo) ≥ 1, i = 1,..., N.
Mark true or false for the following assertions (Q4.1, Q4.2, Q4.3) and justify your answer. Questions with
no justification will receive 0 points.
(1)
This SVM objective assumes data is linearly separable.
(2)
After obtaining the decision boundary in Equation 1, if we modify ß while maintaining the
restriction ||3|| = 1, this would modify the minimum distance from the decision boundary to the
origin.
3.
= 2
Assume the maximum margin obtained by the model was M = 4 = d₁ + d2, where d₁
and d₂ = 2 denote the distance from the decision boundary to hyperplanes H₁ and H₂ defined by the
support vectors. If we add 1 to Bo, the new maximum margin would be M + 1.
Transcribed Image Text:Consider an SVM that obtains a decision boundary through the maximization optimization in Equation (1), which is equivalent to the minimization optimization in Equation (2), where 3 and 3o denote the parameters, x the i-th training example, y, € {−1, 1} the class label for the i-th training example, M the margin, N the number of instances. which is equivalent to 1. M 2. max B,Bo,||B||2=1 subject to y (x + ßo) ≥ M, i = 1, ..., N. min=|||| B,Bo 2 subject to y (x + ßo) ≥ 1, i = 1,..., N. Mark true or false for the following assertions (Q4.1, Q4.2, Q4.3) and justify your answer. Questions with no justification will receive 0 points. (1) This SVM objective assumes data is linearly separable. (2) After obtaining the decision boundary in Equation 1, if we modify ß while maintaining the restriction ||3|| = 1, this would modify the minimum distance from the decision boundary to the origin. 3. = 2 Assume the maximum margin obtained by the model was M = 4 = d₁ + d2, where d₁ and d₂ = 2 denote the distance from the decision boundary to hyperplanes H₁ and H₂ defined by the support vectors. If we add 1 to Bo, the new maximum margin would be M + 1.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Bellman operator
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education