Table 3.
Template of a confusion matrix for a 3-class classifier.
| Definition | Formula | |
|---|---|---|
| True Positive (TP) | The number of samples of a class which have been correctly classified | |
| True Negative (TN) | The number of samples of other classes which has been correctly classified | |
| False Positive (FP) | The number of samples not belongs to a class which has been incorrectly classified as belonging to it | |
| False Negative (FN) | The number of samples belonging to a class which have been incorrectly classified as belong to other class | |
| Accuracy | The proportion of all samples which have been correctly classified | |
| Sensitivity | The proportion of samples which have been correctly classified | |
| Precision | The proportion of sample predicted to belong to a class which is correct | |
| Specificity | The proportion of negative samples which have been correctly classified to be negative | |
| F-Measure | the weighted average of the precision and sensitivity |