Professional Documents
Culture Documents
03 Linear Regression PDF
03 Linear Regression PDF
Regularized regression
Generally
Regularized regression
Polynomial basis
functions:
9th Order Polynomial
9th Order Polynomial
9th Order Polynomial
Gaussian i.i.d.
1
where ! ! is the precision of the noise.
" 2
Generating function
Observed data
Maximum likelihood prediction
Posterior over t
The result is to introduce a new quadratic term in w into the error function
to be minimized:
Regularized regression
Regularized regression
where
where
Regularized regression
Lasso Quadratic
(Least absolute shrinkage and selection operator)
CSE 4404/5327 Introduction to Machine Learning and Pattern Recognition J. Elder
Regularized Least Squares
33 Probability & Bayesian Inference
Iso-contours
of data term ED(w)
Iso-contour of
regularization term EW(w)
Quadratic Lasso
Regularized regression
polyfit
Least-squares fit of a polynomial of specified order to
given data
regress
More general function that computes linear weights for
least-squares fit
Regularized regression
where
for which
! =" /#
where
(
p t | t,! , " )
E #$t | t,! , " %&
Equivalent kernel or
smoother matrix.
Regularized regression