|
y |
y^ |
|
|
Yes |
Yes |
+ |
|
Yes |
No |
- |
|
No |
Yes |
- |
|
No |
No |
+ |
P = Cases being + / Total Cases
Confusion Matrix as per the above table:
Actual values:
|
|
Yes |
No |
|
Yes |
1 |
2 |
|
No |
3 |
4 |
There are 4 Quadrants in confusion matrix
First Quadrant: True Positive
Second Quadrant: True Negetive
Third Quadrant: False Positive
Fourth Quadrant: False Negetive
The confusion matrix is used to see the accuracy in our predicted model.
Also, accuracy is not the only metric to calculate every problem.
Based on the business scenarios we will be deciding the other metrics too. There will be cases where you need to consider multiple quadrants, which is the combination of recall and precision.
Leave a Comment
Login to post a public Comment