Question: c ) Given the inomalired dataset below and w = 1 . 5 and b = 0 . 5 , our objective is to develop

c) Given the inomalired dataset below and w=1.5 and b=0.5, our objective is to develop
a model that can predict bouse price based on house size
ypred=wx+b
L=12(ypred-y)2
wnexc=wdid-delLdelw
delLdelw=(yped-y)x
delLdelb=(yped-y)
bRew=bdid-delLdelb
i. Using a lcarning rate (a) of 0.5 and the MSE loss function (L) as your loss function,
after one step of the siochastic gradient descent, answer the questions below. (Show
all working., Note you can we any row as the sample.
Calculate the lose.
[1 mark]
Calculate new valoes for w and b.
[3 marks]
ii. How many parameter updates woold be done for the dataset above in the
following scenarios
Stochastic gradient deseens and 300 epochs.
[1 mark]
Mini batch stochastic gradient deseent batch sixe of 3 and 400 epocts.
[1 mark]
 c) Given the inomalired dataset below and w=1.5 and b=0.5, our

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!