How Bayes' Theorem is Applied in Machine Learning - KDnuggets