Question: Please do Task 4: Solve the decision boundary on paper. step by step please. Task 3: Call quadprog 1 point ## START YOUR CODE ###
Please do Task 4: Solve the decision boundary on paper. step by step please.




![vectors are: ', X[ solution >,]) solution =[0.12499977.12499977.24999953. The support vectors are:](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f2ea531a8d0_73066f2ea5286fbc.jpg)
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
Get step-by-step solutions from verified subject matter experts
