Question: [ Perceptron ] The Perceptron algorithm finds a decision boundary for binary classification below. w ( x 1 , x 2 ) = + 1

[Perceptron] The Perceptron algorithm finds a decision boundary for binary classification below.
w(x1, x2)=+1 w1x1+ w2x2>0
w(x1, x2)=1 w1x1+ w2x20
(1)
2.1 Assume a data set consists only of a single data point {(x1, x2),+1)}. How many iterations will
be required until it finds a decision rule when the initial w0=(0,0) and step size =1?
2.2 How many iterations will be required until it finds a decision rule if the initial weight vector
w0 was initialized randomly and not as the all-zero vector?
2.3 Suppose you have the three data points below. Please complete the iterative updates for wi
in Perceptron algorithm. The initial w0=(0,0) and step size =1; the point (0,1) is detected as
misclassification at the first iteration so w is updated by the point: w1= w0+1(0,1)
iteration w
0 w0=(0,0)
1 w1=(0,0)+(0,1)=(0,1)
2...
2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!