Security Classification: Posterior Probability When Flagged
Context
You are evaluating a binary classifier that flags potentially bad users. Assume:
-
Base rate of bad users: P(Bad) = 5%.
-
Symmetric 95% accuracy: sensitivity (true positive rate) = 95% and specificity (true negative rate) = 95%.
Question
-
Using Bayes' theorem, compute the posterior probability that a user is truly bad given they are flagged by the model: P(Bad | Flagged).