Naive Bayes’ Theorem in machine learning