Bayesian Models For Machine Learning Algorithms