Solution For Week 9 - Confusion Matrix, ROC, Analysis of Model

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Week 9

Q1.State true or false: Statement: there is no difference between, E(y) = 0 + 1x and y = 0 +


1x + e , both are regression equations.
1. True
2. False
Ans: b.

Q2. Which of the following statements is correct:


● Sensitivity in ROC analysis is called True Positive Rate(tpr)
● Specificity in ROC analysis is not called True Negative Rate (tnr)
● Specificity in ROC analysis is called True Positive Rate(tpr)
● Sensitivity in ROC analysis is called True Negative Rate (tnr)
Ans: A

Q3. In ROC analysis when the Threshold value is Higher:


A. Specificity decreases
B. Sensitivity decreases
C. Both a. and b.
D. None of the above
Ans: b.

Q4. Sensitivity in ROC analysis is defined as:


a. FP / (FP+TN)
b. FN/(TP+FN)
c. TN / (TN+FP)
d. TP / (TP+FN)
Ans. d.

Q5. In ROC analysis, a classifier is called ‘good’ if it has ______


a. Low TPR and Low FPR
b. Low TPR and High FPR
c. High TPR and Low FPR
d. High TPR and High FPR
Ans: c

Q6. For the given confusion matrix, compute the recall

True Positive True Negative

Predicted Positive 8 3

Predicted Negative 2 7
a. 0.73
b. 0.7
c. 0.78
d. 0.8
Ans: d

Q7. State true or False: Precision is inversely proportional to recall


a. True
b. False
Ans: b.

Q8. State True or False: Standardization of features is not required before training a Logistic
regression model
a. True
b. False
Ans: a.

Q9. Which of the following option is true?


A) Linear Regression errors values have to be normally distributed but in the case of Logistic
Regression it is not the case
B) Logistic Regression errors values have to be normally distributed but in the case of Linear
Regression it is not the case
C) Both Linear Regression and Logistic Regression error values have to be normally distributed
D) Both Linear Regression and Logistic Regression error values have not to be normally
distributed
Ans: a

Q10. Which of the following is true regarding the logistic function for any value “x”?
A. Logistic(x): is a logistic function of any number “x”
B. Logit(x): is a logit function of any number “x”
C. Logit_inv(x): is an inverse logit function of any number “x”
A) Logistic(x) = Logit(x)
B) Logistic(x) = Logit_inv(x)
C) Logit_inv(x) = Logit(x)
D) None of these
Ans: b.

You might also like