True Positive Rate & True Negative Rate
True Positive Rate:
- Sensitivity (SN) is calculated as the number of correct positive predictions divided by the total number of positives. It is also called Recall (REC) or true positive rate (TPR). The best sensitivity is 1.0, whereas the worst is 0.0.
$$SN = TP / TP*FN = TP / P$$
True Negative Rate:
- Specificity (SP) is calculated as the number of correct negative predictions divided by the total number of negatives. It is also called a true negative rate (TNR). The best specificity is 1.0, whereas the worst is 0.0.
$$SN = TP / TP*FN = TP / P$$