Model Pipeline - Confusion matrix
A confusion matrix helps us see how well a classification model is doing by showing the counts of correct and wrong predictions for each class.
A confusion matrix helps us see how well a classification model is doing by showing the counts of correct and wrong predictions for each class.
Loss
0.7 |****
0.6 |***
0.5 |**
0.4 |**
0.3 |*
0.2 |
1 2 3 Epochs| Epoch | Loss ↓ | Accuracy ↑ | Observation |
|---|---|---|---|
| 1 | 0.65 | 0.70 | Model starts learning with moderate accuracy |
| 2 | 0.45 | 0.82 | Loss decreases and accuracy improves |
| 3 | 0.30 | 0.90 | Model converges with good accuracy |
What does a confusion matrix primarily show in machine learning?
Which of the following is the correct way to represent a confusion matrix for a binary classifier?
[[TP, FP],
[FN, TN]]Given the confusion matrix for a 3-class classifier:
[[5, 2, 0],
[1, 7, 1],
[0, 2, 6]]What is the total number of correct predictions?
Consider this confusion matrix for a binary classifier:
[[50, 10],
[5, 35]]There is a mistake in interpreting the false Positives (FP). Which is the correct FP count?
A model's confusion matrix for a 3-class problem is:
[[40, 5, 0],
[3, 30, 7],
[0, 2, 38]]Calculate the overall accuracy of the model.
Pass the test and this pattern moves unknown