Bayesian Theorem in Machine learning