• If the posterior probability is greater than 50 percent, the message is more likely to be spam than ham and it should perhaps be filtered.• The following formula shows how Bayes' theorem is applied to the evidence provided by the previous e-mail messages: