cs229 Livenotes Lecture3
cs229 Livenotes Lecture3
sit
i
n
X Xz Ks
et
4
T.ie
j
To evaluate h at certain
Locally Weighted Regression
R Fcf 0 to Menominee fit 0 to minimise
Cgi 0 T an 5
EE wi Cg
Return Ota
wit expfllxitzf.LI
If XI small wi L
Ix H large wi r O
x
x x
An
Ti bandwidth
Probabilistic interpretation
why Least squares
Assume
ya OTW't E
A
error unmodded effects random
noise
E N O or
plea expc cE
Assumption E are ILD
ryaiydomd.ee mean
This implies that
P y In o Lor exec y zq3e
In art
parametrized by
y In io n N 0th or
P y In o
L O p Fl X o
II p y In o
FI oexrC CyHzotoI5
log likelihood
eco log Lco
log
7 exp
7
Eflag e log exp
n lag EE Gi x5
202
MLE Maximum Likelihood Estimation
Choose 0 to maximize LCO
Minimize
Ey OTHDZ TCO
classification
Make assumption P ylX O
Compute 0 by MLE
I
g EEO binary classification
o's
Logistic Regression
Want he E EO I
1
hoa gcoex
He 04
1
GG Ice
2
IEEE
at oa
sigmoid fn or logistic fr
P y L Ix O hocx
T A
sizeof
tumor tumor
malignant
I holx
Ply o IX o
P hfxY.CI h T
yl X o
Lfo pty IX O
pcy Ix o
hocxingty
II how
Ko log LCO
tent
05 0 ta
E Cy hocxin x
Zo eco
J
Newton's Method
Have
Fundo f sa fCO 0
Maryann derivative 0
a slope flow
c o
09
ON OH O
f OG f O height
0 base
D f O
f COCO
Oath Oct f ft
f Oct
f o _e O
Oleh oh l'COct
l
Quadratic convergence
0 I 0.01 0.0001
Dxcd D
0 Vector 2 ftp.oh
Oath i get't H pole
in
vector HRD't
Hessian
ft Hy If
2920g