What is Balanced Accuracy?
Why not use regular Accuracy? Balanced accuracy is a better instrument for assessing models that are trained on data with very imbalanced target variables. I.e. very high, or very low prevalence. This will result in a classifier that is biased towards the most frequent class. When this classifier is applied to the test set (biased in the same direction), this classifier will yield an overly optimistic “conventional” Accuracy. In extreme situations, the classifier will always predict the dominant class, achieving an Accuracy equal to the prevalence in the test set.
This is a well-known phenomenon, and it can happen in all sciences, in business, and in engineering. Think earthquake prediction, fraud detection, crime prediction, etc. It is also known as the accuracy paradox.
Most often, the formula for Balanced accuracy is described as half the sum of the true positive ratio (TPR) and the true negative ratio (TNR). This formula demonstrates how the Balanced accuracy is a lot lower than the conventional Accuracy measure when either the TPR or TNR is low due to a bias in the classifier towards the dominant class.