Gradient Descent problem

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Qulck Work

Page No.:
Date:

d Goatart Descat elan ple MT WTF S S

o5 2-3 2-7

paedict heightlthll
poedi cded heidit= -S 2
intercept t slope x1at
By least Sgueta nmahod sbpe- 6-64
ASSome ntacept as a!
hou the ine
paedicked haignt o+
o-64 X
Lagt
Sucoad esduals

presided heigt ot o-s4 xo:5-os2


(23,1>)=
Psodicted heft
ResccalLt |9- lo412 G-y
(29, 3-2)
paesicded hidte ot o-buxR 2-1
ResdualL 3-2- (-6 = 1:3
Sum o sqasad gesduals.=
Qulck Work
Page No.
Date:

MTWT F SS

tthon ontereet =o
2

Lntecept
Tnaease the nteept value

2Louest smd
ot the potnt that weh b
aladated toa the gsaph, this ne
bas the lasest, Som f SaOd Re Siduals.
Sum a Sguasad gesidal s
-4- (inte ept +o-64 Ko-5)

t(3-2 Cintencept to-64x2 )


toaud kle
le coo take toe
deaivative ol thes fucton
aud detemine the sle
at any valee hoa thentorcept
So let'5 take the doiatre oha
Sono ol than seted Residals
oh sespatito-theIutaap
Qulck WNork
Page No.:
Date:
MT N
TFS S
Som d Spaed
se Siduals

d antercept

(3-2

X2let's
o the stoat by
tking deivate
bst pet
dintercept (l-4 (htoept t o-64 Xo9)
To take deivatie
need to apply chan sule
= 2(l-4 -(
intocept + o-6uxo-5))
Squaneto the by
aat) maling the

Qud Mulkiply that by dhe deiurhue


the Stull cn
Cnsde the postadheMs
side tha

to- 6uk2s))
t -2 (3-2 - ( to-6s X2.))
Qulck Work
Page No.:
Dale:

MT WTFS S

t -2(|- - to64x2-3))
to-6ek2-))
Nosthat We have the douvate
Goaded Deset bcll use t to
Aind ohou theha Som sned
Restduals 3 loest
placo ntercept as b
alue 59 ’sope
-0157
Stepse= -5-7xonL
laaniysae
new cntecept ald cnt cept - stepse

paocesh cntd te gach


Repaatiths
the closest

You might also like