A Depth Intuition of Linear Regression Algorithm - )
A Depth Intuition of Linear Regression Algorithm - )
Aipevdant fatus ad
Gontineons. Namly ( , 205, 1o2, 103, 40,
Datant 6so, - - - ) .
Salay
Datnet
Bet ft line
when we
best t ne Chonges (#
best tted (ine
(ems iS huge.)
do tthat,???7
Rrictd. Acual
Cost fonchm
need to
Name Casthuneter
(
Ahuad depeudont vonuable pont .
takoept sl
MSE
2
3
New,
Aaummine ightlly 0, },
3
when,
3 X=2
he 2) = 2
3
ie' Compite ost hunttia ,
J (e., 6.)
2
-(2-2)-(3-3)|
-
No e,)
3t
(Go)
o-5
e)
2=1
=2
Nw i i clonge my caludoe lo
o-)+ (o-+to-)
3
J ) 46
Je,) = J
3 3
22 4
A S
Gtradient7 pla )
3:5 Dogtant
inhirle hen,(e,
2
(D-5,
1-1b) ,- , J(e,) =o
19
o,=0,J(e, )=466
Same
So in oley
ngsd tto chone , +o, vale.
wwch ds tee
A mochonsm hod be tolltwed
.??’ Gnergpnla tgam Coptimiy the e, vale
Gryodsont
ttis alpld bs
why uprd
paoaboto.35
tha cast
e
Pepot uni1 GMgeno
d =y leaAne rate
slibal mhima 99
the
reoch
tele s that,
Convergenle eq wation
The ubtrecttd uith
kunld beke the
leanierae (a) and
praduet t! t teie point
the tunthion at
deivative e Cot
Can be o, ,b,)
J(o)
slepe)
L qlobal
minima
- <-ve valu
: 6;
Thiu illineneas ;
hond aide
Right
it Lctomes a (+ve) aleze vale.
tt Connengern le epu
Now
f+ ve value
b,O; -
[value]Y ihis wil datreae
Jte)?
glotel
(decnsase
)
Rate (a docldes
Jentng
larae
wee veS
les and Ieo modal reothed glatal mihima
globl mnima doon.
Amall
Vale