Data Science from Scratch -- Chapter 13
The Naive Bayes classifier is an interesting construction that uses conditional probabilities in order to attempt to determine the probability that an object is in a particular class. The example that this is used with is spam filtering, and this is apparently one of the methods that was once used for that task.