0% found this document useful (0 votes)
59 views

Introduction To Machine Learning - Unit 4 - Week 2

1) The document is an introduction to machine learning course from NPTEL that provides an assessment on linear regression and subset selection methods. 2) It contains 10 multiple choice questions related to concepts from week 2 such as linear regression, ridge and lasso regression, subset selection methods, and principal component regression. 3) The assessment was submitted on August 3, 2023 at 9:19 AM IST and is due on August 9, 2023 at 11:59 PM IST.

Uploaded by

RAJASREE R
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
59 views

Introduction To Machine Learning - Unit 4 - Week 2

1) The document is an introduction to machine learning course from NPTEL that provides an assessment on linear regression and subset selection methods. 2) It contains 10 multiple choice questions related to concepts from week 2 such as linear regression, ridge and lasso regression, subset selection methods, and principal component regression. 3) The assessment was submitted on August 3, 2023 at 9:19 AM IST and is due on August 9, 2023 at 11:59 PM IST.

Uploaded by

RAJASREE R
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

8/3/23, 9:19 AM Introduction To Machine Learning - - Unit 4 - Week 2

Assessment submitted.
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
X

[email protected]

NPTEL (https://swayam.gov.in/explorer?ncCode=NPTEL) » Introduction To Machine Learning (course)


Click to register
for Certification
exam
Thank you for taking the Week 2:
Assignment 2.
(https://examform.nptel.ac.in/2023_10/exam_form/dashboard)

If already
registered, click
to check your
Week 2: Assignment 2
payment status Your last recorded submission was on 2023-08-03, 09:20 Due date: 2023-08-09, 23:59 IST.
IST

1) The parameters obtained in linear regression 1 point


Course
outline can take any value in the real space
are strictly integers
How does an always lie in the range [0,1]
NPTEL can take only non-zero values
online
course
2) Suppose that we have N independent variables (X 1 , X 2 , . . . X n) and the 1 point
work? ()
dependent variable is Y . Now imagine that you are applying linear regression by fitting the best
fit line using the least square error on this data. You found that the correlation coefficient for one
Week 0 ()
of its variables (Say X 1 ) with Y is -0.005.

Week 1 ()
Regressing Y on X 1 mostly does not explain away Y .
Week 2 ()
Regressing Y on X 1 explains away Y .
Linear
Regression The given data is insufficient to determine if regressing Y on X 1 explains away Y or not.
(unit?
unit=32&lesson=33) 3) Which of the following is a limitation of subset selection methods in regression? 1 point
Multivariate
They tend to produce biased estimates of the regression coefficients.
Regression
(unit? They cannot handle datasets with missing values.
unit=32&lesson=34) They are computationally expensive for large datasets.
Subset They assume a linear relationship between the independent and dependent variables.
Selection 1 They are not suitable for datasets with categorical predictors.
(unit?
unit=32&lesson=35)

https://onlinecourses.nptel.ac.in/noc23_cs98/unit?unit=32&assessment=202 1/4
8/3/23, 9:19 AM Introduction To Machine Learning - - Unit 4 - Week 2

Subset 4) The relation between studying time (in hours) and grade on the final examination (0- 1 point
Assessment submitted. 100) in a random sample of students in the Introduction to Machine Learning Class was found to
Selection 2
X (unit? be:Grade = 30.5 + 15.2 (h)
unit=32&lesson=36) How will a student’s grade be affected if she studies for four hours?

Shrinkage
It will go down by 30.4 points.
Methods (unit?
unit=32&lesson=37) It will go down by 30.4 points.
It will go up by 60.8 points.
Principal
Components The grade will remain unchanged.
Regression It cannot be determined from the information given
(unit?
unit=32&lesson=38)
5) Which of the statements is/are True? 1 point
Partial Least
Squares (unit? Ridge has sparsity constraint, and it will drive coefficients with low values to 0.
unit=32&lesson=39) Lasso has a closed form solution for the optimization problem, but this is not the case for
Ridge.
Practice: Week
2: Assignment Ridge regression does not reduce the number of variables since it never leads a
2 (Non coefficient to zero but only minimizes it.
Graded) If there are two or more highly collinear variables, Lasso will select one of them randomly
(assessment?
name=177)
6) Find the mean of squared error for the given predictions: 1 point
Quiz: Week 2:
Assignment 2
(assessment?
name=202)

Week 2
Feedback
Form :
Introduction To
Machine
Hint: Find the squared error for each prediction and take the mean of that.
Learning (unit?
unit=32&lesson=190)
1

Text 2
Transcripts () 1.5
0
Download
Videos ()
7) Consider the following statements: 1 point
Statement A: In Forward stepwise selection, in each step, that variable is chosen which has the
Books () maximum correlation with the residual, then the residual is regressed on that variable, and it is
added to the predictor.
Statement B: In Forward stagewise selection, the variables are added one by one to the
previously selected variables to produce the best fit till then

Both the statements are True.


Statement A is True, and Statement B is False
Statement A is False and Statement B is True
Both the statements are False.

8) 1 point

https://onlinecourses.nptel.ac.in/noc23_cs98/unit?unit=32&assessment=202 2/4
8/3/23, 9:19 AM Introduction To Machine Learning - - Unit 4 - Week 2

The linear regression model y = a0 + a1 x 1 + a2 x 2 +. . . +ap x p is to be fitted to a set of N


Assessment submitted. training data points having p attributes each. Let X be N × (p + 1) vectors of input values
X (augmented by 1‘s), Y be N × 1 vector of target values, and θ be (p + 1) × 1 vector of
parameter values (a0 , a1 , a2 , . . . , ap ). If the sum squared error is minimized for obtaining the
optimal regression model, which of the following equation holds?

T
X X = XY

T
Xθ = X Y

T
X Xθ = Y

T T
X Xθ = X Y

9) Which of the following statements is true regarding Partial Least Squares (PLS) 1 point
regression?

PLS is a dimensionality reduction technique that maximizes the covariance between the
predictors and the dependent variable.
PLS is only applicable when there is no multicollinearity among the independent
variables.
PLS can handle situations where the number of predictors is larger than the number of
observations.
PLS estimates the regression coefficients by minimizing the residual sum of squares.
PLS is based on the assumption of normally distributed residuals.
All of the above.
None of the above.

10) Which of the following statements about principal components in Principal 1 point
Component Regression (PCR) is true?

Principal components are calculated based on the correlation matrix of the original
predictors.
The first principal component explains the largest proportion of the variation in the
dependent variable.
Principal components are linear combinations of the original predictors that are
uncorrelated with each other.
PCR selects the principal components with the highest p-values for inclusion in the
regression model.
PCR always results in a lower model complexity compared to ordinary least squares
regression.

You may submit any number of times before the due date. The final submission will be
considered for grading.
Submit Answers

https://onlinecourses.nptel.ac.in/noc23_cs98/unit?unit=32&assessment=202 3/4
8/3/23, 9:19 AM Introduction To Machine Learning - - Unit 4 - Week 2

Assessment submitted.
X

https://onlinecourses.nptel.ac.in/noc23_cs98/unit?unit=32&assessment=202 4/4

You might also like