Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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%
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

Step: 3

blur-text-image

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

Accounting And Auditing Research And Databases Practitioner's Desk Reference

Authors: Thomas R. Weirich, Natalie Tatiana Churyk, Thomas C. Pearson

1st Edition

1118334426, 978-1118334423

More Books

Students also viewed these Databases questions