Question: 5 . Linear Regression and RegularizationFor each of the datasets below, provide a simple feature mapping o such that the transformed data ( ( x
Linear Regression and RegularizationFor each of the datasets below, provide a simple feature mapping o such that the transformed data xywould be well modeled by linear regression. Which feature mapping is appropriate for the above model? exp x log xWhich feature mapping is appropriate for the above model? x xsign xxsign xx xsign xsign xxsConsider fitting a lregularized linear regression model to data x yem yn where aeyt R are scalar values for each t n To fit the parameters of this model, one solves L min eER, ER where yr L t Here A is a prespecified fixed constant, so your solutions below should be expressed as functions of referred to as ridge regression and the data. This model is typically Write down an expression for the gradient of the above objective function in terms of e Important: If needed, please enter respectively as a function sumt including the parentheses. Enter and y as xft and yft Write down an expression for the gradient of the above objective function in terms of eFind the closed form expression for eo and e which solves the ridge regression minimization above. Assume is fixed, write down an expression for the optimal o in terms of x yt n Write down an expression for the optimal defined below in terms of y n A and Note: To simplify your expression, please use enter this as barx. Now after the optimal e is obtained, you can use it to compute the optimal
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
