Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please do Task 4: Solve the decision boundary on paper. step by step please. on paper please. on paper please. on paper please. on paper
Please do Task 4: Solve the decision boundary on paper. step by step please.
on paper please.
on paper please.
on paper please.
on paper please.
on paper please.
Task 3: Call quadprog 1 point \#\# START YOUR CODE \#\#\# \# Hint: Call quadprog_solve_qp() with the correct arguments solution = quadprog_solve_qp (P,q,G,h,A,b) \#\#\# END YOUR CODE \#\#\# print('solution = ', solution) print('The support vectors are: ', X[ solution >,]) solution =[0.12499977.12499977.24999953. The support vectors are: [2] [2] [33] Expected output [02] [33]] Use the support vectors to solve the w and b in the decision boundary wTx+b=0. Use the property that a support vector x(k) must satistify y(k)(wTx(k)+b)=1. You can solve it with a paper and pen by listing linear equations. NOTE: Solve this task on paper. You only need to provide the answers for w1, w2, and b. Hint: You should solve the following linear equations: y(2)(wTx(2)+b)=1y(3)(wTx(3)+b)=1y(4)(wTx(4)+b)=1 \#\# START YOUR ANSWERS \#\#\# w1 = None w2 = None b= None \#\#\# END YOUR ANSWERS print( 'w1 = ', w1) print('w2 = ', w2) print(b=,b)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started