Table 3.
Contingency table.
| Confusion Matrix or 2×2 Contingency Table | |||
|---|---|---|---|
| Tested/Estimated/Predicted Results | Total Samples | True Condition | |
| Positive (+) | Negative (-) | ||
| Positive (+) | n(TP) | n(FP) | |
| Negative (-) | n(FN) | n(TN) | |
n(TP) and n(FP) represent the numbers of correctly and incorrectly predicted positive samples, respectively. n(TN) and n(FN) represent the numbers of the correctly and incorrectly predicted negative samples, respectively.