The other day I was reading some stuff on conditional probability and Bayes’ theorem and my mind wondered what could be the possible application of this theorem apart from the usual ones pertaining to manufacturing and alike.

Digging a little, I came across this interesting piece on the web which refers to Bayes’ theorem to limit or restrict spam mails in the inbox. But before I go further, a little bit on Bayes Theorem.

It is “A theorem stating that the probability of a hypothesis, given the original data and some new data, is proportional to the probability of the hypothesis, given the original data only, and the probability of the new data, given the original data and the hypothesis. Also known as inverse probability principle. ” ( http://www.answers.com/topic/bayes-theorem )

So, basically, the logic would work on the above lines by trying all the possible combination’s from a percentage of the mails ( which would be subset) having a keyword of the spam and apply it for those which have the word or are related to it.