How does balanced accuracy correct for class imbalance compared to plain accuracy?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: easy
Interview Round: Other
Overview: Asks how balanced accuracy differs from plain accuracy when one class is much more common than the others. Tests the definition for binary and multiclass problems, a worked imbalanced example, the link to class reweighting, and what the metric fails to penalize.