Bayes' theorem in neon lights at the office of a software company in Cambridge, England. The theorem describes the relationship between the probability of event A given that event B occurred (the left side of the equation above), the probability of event B given event A, and the probabilities of events A and B themselves.