Test 1 With Key 10-3
Test 1 With Key 10-3
A) TRUE
B) FALSE
Yes, Linear regression is a supervised learning algorithm because it uses true labels for
training. A supervised machine learning model should have an input variable (x) and an output
A) TRUE
B) FALSE
Q3. True-False: It is possible to design a Linear regression algorithm using a neural network.
A) TRUE
B) FALSE
Q4. Which of the following methods do we use to find the best-fit line for data in Linear
Regression?
B) Maximum Likelihood
C) Logarithmic Loss
D) Both A and B
Q5. Which of the following evaluation metrics can be used to evaluate a model while modeling a
continuous output variable?
A) AUC-ROC
B) Accuracy
C) Logloss
D) Mean-Squared-Error
Q6. True-False: Lasso Regularization can be used for variable selection in Linear Regression.
A) TRUE
B) FALSE
A) Lower is better
B) Higher is better
D) None of these
Q8. Suppose we have N independent variables (X1, X2… Xn) and Y’s dependent variable.
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 of its variables (Say
Q9. Looking at the above two characteristics, which of the following options is the correct
Pearson correlation between V1 and V2?
If you are given the two variables V1 and V2, which follow the below two characteristics:
D) None of these
Q10. Suppose the Pearson correlation between V1 and V2 is zero. In such a case, is it right to
conclude that V1 and V2 do not have any relation between them?
A) TRUE
B) FALSE
Q11. Suppose the horizontal axis is an independent variable and the vertical axis is a
dependent variable. Which of the following offsets do we use in linear regression’s least square
line fit?
A) Vertical offset
B) Perpendicular offset
C) Both, depending on the situation
D) None of above
Q12. True- False: Overfitting is more likely when you have a huge amount of data to train.
A) TRUE
B) FALSE
Q13. We can compute the coefficient of linear regression with the help of an analytical method
called “Normal Equation.” Which of the following is/are true about Normal Equations?
A) 1 and 2
B) 1 and 3
C) 2 and 3
D) 1,2 and 3
Q14. Which of the following statement is true about the sum of residuals of A and B?
Below graphs show two fitted regression lines (A & B) on randomly generated data. Now, I want
Note:
D) None of these
Suppose you have fitted a complex regression model on a dataset. Now, you are using Ridge
Q15. Choose the option which describes bias in the best manner.
D) None of these
Q16. What will happen when you apply a very large penalty?
B) Some of the coefficients will approach zero but not absolute zero
D) None of these
Q17. What will happen when you apply a very large penalty in the case of Lasso regression?
B) Some of the coefficients will be approaching zero but not absolute zero
D) None of these
Q18. Which of the following statement is true about outliers in Linear regression?
C) Can’t say
D) None of these
Q19. Suppose you plotted a scatter plot between the residuals and predicted values in linear
regression and found a relationship between them. Which of the following conclusion do you
make about this situation?
D) None of these
Suppose that you have a dataset D1 and you design a linear model of degree 3 polynomial and
find that the training and testing error is “0” or, in other words, it perfectly fits the data.
Q20. What will happen when you fit a degree 4 polynomial in linear regression?
A) There is a high chance that degree 4 polynomial will overfit the data
B) There is a high chance that degree 4 polynomial will underfit the data
C) Can’t say
D) None of these
Q21. What will happen when you fit a degree 2 polynomial in linear regression?
C) Can’t say
D) None of these
Q22. In terms of bias and variance. Which of the following is true when you fit degree 2
polynomial?
Q23. Suppose l1, l2, and l3 are the three learning rates for A, B, and C, respectively. Which of
the following is true about l1,l2, and l3?
A) l2 < l1 < l3
B) l1 > l2 > l3
C) l1 = l2 = l3
D) None of these
We have been given a dataset with n records in which we have an input attribute as x and an
output attribute as y. Suppose we use a linear regression method to model this data. To test our
linear regressor, we split the data in the training set and test a set randomly.
Q24. Now we increase the training set size gradually. As the training set size increases, what do
you expect will happen with the mean training error?
A) Increase
B) Decrease
C) Remain constant
D) Can’t Say
Q25. What do you expect will happen with bias and variance as you increase the size of training
data?
Consider the following data where one input(X) and one output(Y) are given.
Q26. What would be the root mean square training error for this data if you run a Linear
Regression model of the form (Y = A0+A1X)?
A) Less than 0
C) Equal to 0
D) None of these
Regression.
Q27. Which of the following scenario would give you the right hyperparameter?
A) 1
B) 2
C) 3
D) 4
Suppose you got a situation where you find that your linear regression model is underfitting the
data.
Q29. In such a situation, which of the following options would you consider?
Add more variables
A) 1 and 2
B) 2 and 3
C) 1 and 3
D) 1, 2 and 3
Q30. Now the situation is the same as written in the previous question (under-fitting). Which of
the following regularization algorithms would you prefer?
A) L1
B) L2
C) Any
D) None of these
55. On which of the following approach A basic line following robot is based?
a) Applied approach
b) Weak approach
c) Strong approach
d) Cognitive approach
56. Artificial Intelligence has evolved extremely in all the fields except for _________
a) Web mining
b) Construction of plans in real time dynamic systems
c) Understanding natural language robustly
d) All of the mentioned
61. What is the name of Artificial Intelligence which allows machines to handle vague
information with a deftness that mimics human intuition?
a) Human intelligence
b) Boolean logic
c) Functional logic
d) Fuzzy logic
62. Which of the following produces hypotheses that are easy to read for humans?
a) Machine Learning
b) ILP
c) First-order logic
d) Propositional logic