InterviewSolution
| 1. |
Define the confusion matrix? |
|
Answer» It is a matrix that has 2 rows and 2 columns. It has 4 outputs that a binary classifier provides to it. It is USED to derive various MEASURES like specificity, error rate, accuracy, precision, sensitivity, and recall. The TEST data set should contain the correct and predicted labels. The labels depend upon the performance. For instance, the predicted labels are the same if the binary classifier performs perfectly. Also, they MATCH the part of observed labels in real-world scenarios. The four outcomes shown above in the confusion matrix mean the following:
The formulas for CALCULATING basic measures that comes from the confusion matrix are:
In these formulas: FP = false positive Also, Sensitivity is the measure of the True Positive Rate. It is also called recall. |
|