Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 4 - Nonlinear SVM [ 1 0 pts bonus ] Before starting, note that sections 4 , 5 are above the expected level in

Problem 4- Nonlinear SVM [10 pts bonus]
Before starting, note that sections 4,5 are above the expected level in this course.
We now introduce the normalized linear kernel:
K(x,y)=xty||x||*||y||
Find the feature vector mapping, i.e., the that maps each sample to its feature space.
Given the following data, map the points to their new feature representations using the figure as the feature space. Draw the 6new points (with colors) on the figure.
Draw the resulting margin decision boundary in the feature space. Also draw the separating line. You can use the following link.
For this section, work only with the new feature space.
Given that the separating hyperplane is defined by l:-x-y+1.378=0, so w=(-1,-1),b=1.378, find the alphas for each sample.
Guide: start from the rule that w=i=13yiixi to get 2 equations. Obtain the third equation by the rule i=13yii=0 and solve system of 3 equations (no need to show, but write the final alphas).
Note: most of the time, it is not that simple, but since we have only 3 points in 2d, it works.
Draw the decision boundary in the original input space, resulting from the kernel. Recall that the nonlinear hyperplane given by:
i=13yiiK(x,xi)+b=0
Where b is given to you, you found the alphas earlier.
Use the following diagram:
Tip: try to write to yourselves how this equation looks like before going to desmos.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Essential SQLAlchemy Mapping Python To Databases

Authors: Myers, Jason Myers

2nd Edition

1491916567, 9781491916568

More Books

Students also viewed these Databases questions