Regression DPP 01 Discussion Notes664745df1b2c900018f5ac7e
Regression DPP 01 Discussion Notes664745df1b2c900018f5ac7e
Artificial Intelligence
Machine Learning
Regression
A Ridge has sparsity constraint, and it will drive coefficients with low values to 0.
B Lasso has a closed form solution for the optimization problem, but this is not the
case for Ridge.
C Ridge regression does not reduce the number of variables since it never leads a
coefficient to zero but only minimizes it.
D If there are two or more highly collinear variables, Lasso will select one of them
randomly
[MCQ]
#Q. The relation between studying time (in hours) and grade on the final
examination (0-100) in a random sample of students in the Introduction to
Machine Learning Class was found to be : Grade = 30.5 + 15.2 (h) How will a
student's grade be affected if she studies for four hours ?
C Can't say
D None of these
[MCQ]
#Q. What does the slope coefficient in a linear regression model indicate ?
A 1 B 2
C 1.5 D 0
[MCQ]
#Q. What is the primary assumption of linear regression regarding the
relationship between the independent and dependent variables?
A Non-linearity
B Independence of errors
C Homoscedasticity
D Linearity
[MCQ]
#Q. Which of the following statements is true regarding Partial Least Squares
(PLS) regression ?
A 1.75
B 1.60
C 2.00
D 2.50
[NAT]
#Q. There is no value of x that can simultaneously satisfy both the given
equations. Therefore, find the ‘least squares error’ solution to the two
equations, i.e ., find the value of x that minimize the sum of squares of the
errors in the two equations. ____________.
2x = 3
4x = 1
[MCQ]
#Q. For a bivariate data set on (x, y), if the means, standard deviations and
correlation coefficient are x = 1.0, y = 2.0, sx = 3.0, sy = 9.0, r = 0.8.
Then the regression line of y on x is:
A y = 1 + 2.4 (x − 1)
B y = 2 + 0.27 (x − 1)
C y = 2 + 2.4 (x − 1)
D y = 1 + 0.27 (x − 1)
[MCQ]
#Q. What is the purpose of regularization in linear regression ?
B To avoid underfitting
C To encourage overfitting
X 5 2 4 3
Y 16 10 13 12
C Both independent and dependent variable may have a categorical data value
D non Zero mean, non constant variance and are not independent
[MCQ]
#Q. A residual is defined as ?
B The difference between the actual Y values and the predicted Y values.
B XO=XTY
C XTXO=Y
D XTX0=XTY
[NAT]
#Q. Use the regression equation to predict the glucose level given the age.
Consider the following is the data set for understanding the concept of
Linear Regression Numerical Example with One Independent Variable.
A Lasso tends to produce sparse coefficient vectors, while Ridge does not.
B Ridge tends to produce sparse coefficient vectors, while Lasso does not.
X 0 1 2 3 4
y 2 3 5 4 6