The question has two parts, one of ridge and another of lasso, with four items in total that are to be answered in the provided space. All the items can and should be answered using the information provided, with no need to run R code. In what you write you may explain your reasoning but stick to the questions and keep your answer brief to the utmost possible. No need to define objects, nor to explain concepts, just answer what is being asked. Consider the following training data, shown below before centering. X Y 01 0 0 0 0 0 0 1 1 00 01 This data set will be analysed after centering all columns (not scaling). In what follows, the centered data columns are referred to as X and Y. Using these centered columns, we have the following quantities: XTX = 6/7 = 0.8571; XTY = 4/7 = 0.5714 and YTY = 12/7 = 1.7143. Ridge regression R Q1 For λ = 0.46, compute and write in the provided space the ridge estimate ẞ (0.46). Use decimal numbers, not fractions. R Q2 Using the ridge estimate ẞ (0.46) you just computed, determine the percentage of shrinkage achieved with respect to the squared L2 norm. That is, compute the shrinkage using (0.46) with ẞ the OLS estimate. In the provided space, write the shrinkage as percentage between 0 and 100 with decimal values. R Lasso L L L ~L - Q3 The following are several expressions for the lasso estimate: (A) = 0.6667 * (1 − 1.4λ); ߘ (λ) = 0.6667 * (1 1.752); (2) = 0.8333 * (1 − 1.4λ); and (2) = 0.8333 * (1 - 1.75λ). Only one of the expressions given is correct for the given data. Determine which is the correct version and write it in the provided space. Hint: Follow the development shown in lectures. - L U Ꭶ X2 x² = = = Q4 Determine the numerical value of the lasso parameter & such that the lasso path vanishes, i.e. A such that B (A) = 0. Write the value of 1 as a decimal number, no fractions. ☑ T: A ▾ B I == == S E I ว C Θ ☑ П 米 </>

Elementary Geometry For College Students, 7e
7th Edition
ISBN:9781337614085
Author:Alexander, Daniel C.; Koeberlein, Geralyn M.
Publisher:Alexander, Daniel C.; Koeberlein, Geralyn M.
Chapter1: Line And Angle Relationships
Section1.4: Relationships: Perpendicular Lines
Problem 16E: Does the relation is less than for a numbers have a reflexive property consider one number? A...
icon
Related questions
Question
The question has two parts, one of ridge and another of lasso, with four items in total that are to be answered in the provided space. All the items can and should be answered using the information
provided, with no need to run R code. In what you write you may explain your reasoning but stick to the questions and keep your answer brief to the utmost possible. No need to define objects, nor to
explain concepts, just answer what is being asked.
Consider the following training data, shown below before centering.
X Y
01
0
0
0
0
0
0
1
1
00
01
This data set will be analysed after centering all columns (not scaling). In what follows, the centered data columns are referred to as X and Y. Using these centered columns, we have the following
quantities: XTX = 6/7 = 0.8571; XTY = 4/7 = 0.5714 and YTY = 12/7 = 1.7143.
Ridge regression
R
Q1 For λ = 0.46, compute and write in the provided space the ridge estimate ẞ (0.46). Use decimal numbers, not fractions.
R
Q2 Using the ridge estimate ẞ (0.46) you just computed, determine the percentage of shrinkage achieved with respect to the squared L2 norm. That is, compute the shrinkage using
(0.46) with ẞ the OLS estimate. In the provided space, write the shrinkage as percentage between 0 and 100 with decimal values.
R
Lasso
L
L
L
~L
-
Q3 The following are several expressions for the lasso estimate: (A) = 0.6667 * (1 − 1.4λ); ߘ (λ) = 0.6667 * (1 1.752); (2) = 0.8333 * (1 − 1.4λ); and (2) = 0.8333 * (1 - 1.75λ).
Only one of the expressions given is correct for the given data. Determine which is the correct version and write it in the provided space.
Hint: Follow the development shown in lectures.
-
L
U
Ꭶ
X2
x²
=
=
=
Q4 Determine the numerical value of the lasso parameter & such that the lasso path vanishes, i.e. A such that B (A) = 0. Write the value of 1 as a decimal number, no fractions.
☑
T:
A ▾
B
I
==
==
S
E
I
ว
C
Θ
☑
П
米
</>
Transcribed Image Text:The question has two parts, one of ridge and another of lasso, with four items in total that are to be answered in the provided space. All the items can and should be answered using the information provided, with no need to run R code. In what you write you may explain your reasoning but stick to the questions and keep your answer brief to the utmost possible. No need to define objects, nor to explain concepts, just answer what is being asked. Consider the following training data, shown below before centering. X Y 01 0 0 0 0 0 0 1 1 00 01 This data set will be analysed after centering all columns (not scaling). In what follows, the centered data columns are referred to as X and Y. Using these centered columns, we have the following quantities: XTX = 6/7 = 0.8571; XTY = 4/7 = 0.5714 and YTY = 12/7 = 1.7143. Ridge regression R Q1 For λ = 0.46, compute and write in the provided space the ridge estimate ẞ (0.46). Use decimal numbers, not fractions. R Q2 Using the ridge estimate ẞ (0.46) you just computed, determine the percentage of shrinkage achieved with respect to the squared L2 norm. That is, compute the shrinkage using (0.46) with ẞ the OLS estimate. In the provided space, write the shrinkage as percentage between 0 and 100 with decimal values. R Lasso L L L ~L - Q3 The following are several expressions for the lasso estimate: (A) = 0.6667 * (1 − 1.4λ); ߘ (λ) = 0.6667 * (1 1.752); (2) = 0.8333 * (1 − 1.4λ); and (2) = 0.8333 * (1 - 1.75λ). Only one of the expressions given is correct for the given data. Determine which is the correct version and write it in the provided space. Hint: Follow the development shown in lectures. - L U Ꭶ X2 x² = = = Q4 Determine the numerical value of the lasso parameter & such that the lasso path vanishes, i.e. A such that B (A) = 0. Write the value of 1 as a decimal number, no fractions. ☑ T: A ▾ B I == == S E I ว C Θ ☑ П 米 </>
AI-Generated Solution
AI-generated content may present inaccurate or offensive content that does not represent bartleby’s views.
steps

Unlock instant AI solutions

Tap the button
to generate a solution

Recommended textbooks for you
Elementary Geometry For College Students, 7e
Elementary Geometry For College Students, 7e
Geometry
ISBN:
9781337614085
Author:
Alexander, Daniel C.; Koeberlein, Geralyn M.
Publisher:
Cengage,
Algebra: Structure And Method, Book 1
Algebra: Structure And Method, Book 1
Algebra
ISBN:
9780395977224
Author:
Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Publisher:
McDougal Littell
Elementary Algebra
Elementary Algebra
Algebra
ISBN:
9780998625713
Author:
Lynn Marecek, MaryAnne Anthony-Smith
Publisher:
OpenStax - Rice University
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
Glencoe Algebra 1, Student Edition, 9780079039897…
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill
College Algebra (MindTap Course List)
College Algebra (MindTap Course List)
Algebra
ISBN:
9781305652231
Author:
R. David Gustafson, Jeff Hughes
Publisher:
Cengage Learning