Question
MIDTERM, ISyE 6416, Spring 2021 Locally weighted linear regression and bias-variance tradeoff.(20 points) Consider a dataset withndata points (xi, yi),xiRp, following the following linear model
MIDTERM, ISyE 6416, Spring 2021
Locally weighted linear regression and bias-variance tradeoff.(20 points) Consider a dataset withndata points (xi, yi),xiRp, following the following linear model
yi=Txi+i, i=1,...,n,
wherei N(0,i2) are independent (but not identically distributed) Gaussian noise with zero mean and variancei2.
1
(a) (5 points) Show that the ridge regression which introduces a squaredl2norm penalty on the parameter in the maximum likelihood estimate ofcan be written as follows
() = arg min(Xy)TW(Xy) +2
for property defined diagonal matrixW, matrixXand vectory.
- (b)(5 points) Find the close-form solution for() and its distribution conditioning on{xi}.
- (c)(2 points) Derive the bias as a function ofand some fixed test pointx.
- (d)(3 points) Derive the variance term as a function of.
- (e)(5 points) Now assuming the data are one-dimensional, the training dataset consists of two samplesx1= 1.5 andx2= 1, and the test samplex= 0.5. The true parameter0= 1,1= 0.5, the noise variance is given by12= 1,2= 3. Plot the MSE (Bias square plus variance) as a function of the regularization parameter.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started