# Is AUC for binary predictor equal to balanced accuracy?

... because they come up the same when I compute them for binary predictions. So either they are the same, or I have something wrongly implemented.