Quick Question
In the previous video, we computed the following confusion matrix for our logistic regression model on our test set with a threshold of 0.5:
FALSE | TRUE | |
0 | 1069 | 6 |
1 | 187 | 11 |
Using this confusion matrix, answer the following questions.
What is the sensitivity of our logistic regression model on the test set, using a threshold of 0.5?
What is the specificity of our logistic regression model on the test set, using a threshold of 0.5?
Explanation
Using this confusion matrix, we can compute that the sensitivity is 11/(11+187) and the specificity is 1069/(1069+6).