What is Bayes' theorem?medium
Answer
Bayes' theorem updates the probability of a hypothesis using prior belief and observed evidence.
Explanation
It is commonly written as P(A | B) = P(B | A)P(A) / P(B). In interviews, it is useful for medical tests, spam detection, fraud detection, and model reasoning under uncertainty.
Follow-upWhy can a high-accuracy test still produce many false positives?