Lecture 4 : Bayesian inference