AI We'll demonstrate another example use case for the Bayes rule in the next section, namely document classification, using the classic example of a spam filter.