Balanced Accuracy definition
Balanced accuracy is the average of the recall rates for the individual classes.
Balanced Accuracy in a picture
How it works
For a binary classifier, average the true positive rate and the true negative rate. This gives the two classes equal weight regardless of how often each appears. For multiple classes, average the fraction correctly classified within each represented class.
Worked examples
Find balanced accuracy when recall is 0.7 and specificity is 0.9.
(0.7 + 0.9)/2 = 0.8.
A binary classifier always predicts negative and both classes are present. Find its balanced accuracy.
(0 + 1)/2 = 0.5.
Three classes have recalls of 0.60, 0.75, and 0.90. What is their average?
(0.60 + 0.75 + 0.90)/3 = 0.75.
Common mistake
Compute each class rate first. Pooling the counts first gives ordinary accuracy and lets larger classes have more weight.
Quick check
Which negative-class rate appears in the binary formula?
Show answer
Specificity.
Do the class sizes have to match?
Show answer
No.
What is the balanced accuracy of a perfect classifier?
Show answer
1, or 100%.
Sources
Flashcard
Balanced Accuracy
Reveal the definition
Balanced accuracy is the average of the recall rates for the individual classes.
Effortless Math. “Balanced Accuracy.” Math Dictionary.



