Answered step by step
Verified Expert Solution
Question
1 Approved Answer
3 . Linear regression ( 1 5 marks ) ( a ) Write the explicit formula of a linear regression model, f = f (
Linear regression marks
a Write the explicit formula of a linear regression model, f fxlambda in the
case x in R Specify how you can use f to predict the label of a test object.
marks
b Explain how you can train f on a given data set and what is the leastsquare
estimate of lambda Do you need an iterative algorithm, eg gradient descent, to
obtain it Justify your answer. marks
c Consider a dimensional linear regression model, gXlambda lambda
P
ilambda iXi
with parameter lambda T
Evaluate the Residual Sum of Squares RSS
of g on
D xn yn in R
times R
n
T
T
T
T
Hint: In this case, the RSS is defined as
RSSDlambda X
xy in D
y gxlambda
marks
d Discuss the problem of regularization in machine learning. In particular,
how can you regularize a linear regression model? Write the expression of
the Lregularized RSS of g on D as a function of lambda and a regularization
parameter rho
Hint: The L norm of a ddimensional vector is defined as
kvk
X
d
i
v
i
marks
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