Question: Given 1 0 data distributed on the coordinates ( Figure 1 ) , assume vectors ( 2 , 6 ) , ( 3 , 4

Given 10 data distributed on the coordinates (Figure 1), assume vectors (2,6),(3,4),(3,8),(4,7),(6,7),(7,3),(8,5) are labeled '+', and (6,2),(6,3),(6,5), are labeled :-. Using the linear classification model, f(x1,x2)=w0+w1x1+w22, with the categorical output is '+' if f(x1,x2)>0 and '-' if f(x1,x2)0.
Given initial weights of the linear model: w0=-3,w1=2, and w2=3 and learning rate =0.03,(a) use batch gradient descent to train the weights (show the detailed weight update for each epoch). After how many epochs will the model converge? (b) Use stochastic gradient descent to train the weights (show the detailed weight update for each epoch), after how many epochs will the model converge?
Note that the vector data are not linear separable. So, we set the convergence criteria to be: the error rate of the model is less than 30%
 Given 10 data distributed on the coordinates (Figure 1), assume vectors

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 Databases Questions!